|
| BasicEnemyAIComponent (Playfield playfield, float movementSpeed, String[] unwalkableTags) |
|
| BaseEnemyAIComponent (Playfield playfield, float movementSpeed, String[] unwalkableTags) |
|
void | setSideStepChance (int percentage) |
|
int | getSideStepChance () |
|
void | awake () |
|
| BaseGridNavigationComponent (Grid grid, String gridOccupyTag, int xSize, int ySize) |
|
void | addUnwalkableOccupyTag (String tag) |
|
boolean | hasUnwalkableOccupyTag (String tag) |
|
void | removeUnwalkableOccupyTag (String tag) |
|
| GridUserComponent (Grid grid, String gridOccupyTag, int xSize, int ySize) |
|
| GridUserComponent (Grid grid, String[] gridOccupyTags, int xSize, int ySize) |
|
GridTile | getCurrentLocatedTile () |
|
boolean | isLocated () |
|
int | getLocationX () |
|
int | getLocationY () |
|
void | placeSelfOnLocation (int x, int y) |
|
void | removeSelfFromLocation () |
|
Collection< String > | getGridOccupyTags () |
|
void | addGridOccupyTag (String tag) |
|
void | removeGridOccupyTag (String tag) |
|
boolean | hasGridOccupyTag (String tag) |
|
void | awake () |
|
EngineTween | startTweenOnComponent (Tween tween, TweenStartType tweenStartType) |
|
Timeline | startTimelineOnComponent (Timeline timeline, boolean updateInGameTime) |
|
EngineTween | doFloat (TweenableFloat floatToTween, float newValue, float duration, TweenStartType tweenStartType) |
|
void | stopAllComponentTweens () |
|
void | initialize (BaseEntity parentEntity) |
|
BaseEntity | getParentOfComponent () |
|
boolean | isActive () |
|
boolean | isDestroyed () |
|
void | setActiveState (boolean activeState) |
|
void | destroy () |
|
void | update (float deltaTime) |
|
abstract void | awake () |
|
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 () |
|
This component should be added to an enemy have its body be controlled by an AI system. This will contain various basic tasks as navigation and attacking the player base.
- Author
- Ramses Di Perna