Bandidos
|
Public Member Functions | |
BaseBlockTrap (Grid grid, TrapFactory.Direction direction) | |
Public Member Functions inherited from com.mygdx.game.traps.types.BaseTrap | |
BaseTrap (Grid grid, TrapFactory.Direction direction) | |
int | place (int gridXPos, int gridYPos) |
TrapFactory.Direction | getDirection () |
void | trigger () |
Public Member Functions inherited from com.mygdx.game.engine.entities.BaseEntity | |
BaseEntity () | |
TransformComponent | getTransformComponent () |
boolean | hasInstanceOfComponent (BaseEntityComponent componentInstance) |
void | addTag (String tag) |
void | removeTag (String tag) |
boolean | hasTag (String tag) |
void | update (float dt) |
void | render (RenderComponents renderComponents) |
void | destroy () |
boolean | isDestroyed () |
Public Member Functions inherited from com.mygdx.game.engine.events.EventDispatcher | |
void | addEventListener (String type, IEventReceiver listeningClass) |
void | dispatchEvent (Event event) |
void | removeEventListener (String type, IEventReceiver listener) |
boolean | hasEventListener (String type) |
ArrayList< ListenerItem > | getAllListeners () |
void | destroyAllListeners () |
void | clean () |
Public Member Functions inherited from com.mygdx.game.traps.ITrap | |
int | getSizeX () |
int | getSizeY () |
boolean | canBeActive () |
void | refresh () |
Protected Member Functions | |
void | doEffect () |
Protected Member Functions inherited from com.mygdx.game.traps.types.BaseTrap | |
void | destroyed () |
Grid | getGrid () |
GridUserComponent | getGridUserComponent () |
abstract void | doEffect () |
Protected Member Functions inherited from com.mygdx.game.engine.entities.BaseEntity | |
abstract void | awake () |
abstract void | updated (float dt) |
abstract void | rendered (RenderComponents renderComponents) |
abstract void | destroyed () |
Protected Attributes | |
boolean | canBeTriggered = true |
This is the Base of a blocking trap. It will block all the tiles it is placed on when activated.
com.mygdx.game.traps.types.BaseBlockTrap.BaseBlockTrap | ( | Grid | grid, |
TrapFactory.Direction | direction | ||
) |
|
protected |
|
protected |