Bandidos
Public Member Functions | List of all members
com.mygdx.game.engine.entities.EntityEvent Class Reference
Inheritance diagram for com.mygdx.game.engine.entities.EntityEvent:
com.mygdx.game.engine.events.Event

Public Member Functions

 EntityEvent (String type, BaseEntity entity)
 
BaseEntity getEntity ()
 
void clean ()
 
- Public Member Functions inherited from com.mygdx.game.engine.events.Event
 Event (String type)
 
String getType ()
 
EventDispatcher getDispatcher ()
 
void setDispatcher (EventDispatcher dispatcherValue)
 
void clean ()
 

Detailed Description

This Event is an event which also contains an Entity. All Events regarding Entities use this event or an extension of it.

Author
Ramses Di Perna

Constructor & Destructor Documentation

◆ EntityEvent()

com.mygdx.game.engine.entities.EntityEvent.EntityEvent ( String  type,
BaseEntity  entity 
)

Member Function Documentation

◆ clean()

void com.mygdx.game.engine.entities.EntityEvent.clean ( )

◆ getEntity()

BaseEntity com.mygdx.game.engine.entities.EntityEvent.getEntity ( )

Returns the Entity linked to the event.

Returns
Returns the Entity which was linked into the EntityEvent Constructor

The documentation for this class was generated from the following file: