Bandidos
|
Public Member Functions | |
LightBanditAttackComponent (float dmg, int rangeInTiles) | |
boolean | isAttacking () |
void | awake () |
void | onReceiveEvent (Event event) |
Public Member Functions inherited from com.mygdx.game.components.attacking.BaseEnemyAttackComponent | |
BaseEnemyAttackComponent (float dmg, int rangeInTiles) | |
abstract boolean | isAttacking () |
void | attack (HealthComponent hc) |
void | stopAttacking () |
int | getRangeInTiles () |
float | getDamage () |
void | setAnimationComponent (AnimationComponent animationComponent) |
Public Member Functions inherited from com.mygdx.game.engine.entities.components.BaseEntityComponent | |
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 () |
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 () |
Protected Member Functions | |
void | attackCall (HealthComponent hc) |
void | stopAttackingCall () |
void | updated (float deltaTime) |
void | activeStateChanged () |
Protected Member Functions inherited from com.mygdx.game.components.attacking.BaseEnemyAttackComponent | |
AnimationComponent | getAnimationComponent () |
void | destroyed () |
abstract void | attackCall (HealthComponent hc) |
abstract void | stopAttackingCall () |
Protected Member Functions inherited from com.mygdx.game.engine.entities.components.BaseEntityComponent | |
abstract void | updated (float deltaTime) |
abstract void | destroyed () |
abstract void | activeStateChanged () |
Additional Inherited Members | |
Static Public Attributes inherited from com.mygdx.game.components.attacking.BaseEnemyAttackComponent | |
static final String | STARTED_ATTACKING_EVENT = "StartedAttackingEvent" |
static final String | STOPPED_ATTACKING_EVENT = "StoppedAttackingEvent" |
The attack logics for the light bandits (Suicide attack)
com.mygdx.game.components.attacking.LightBanditAttackComponent.LightBanditAttackComponent | ( | float | dmg, |
int | rangeInTiles | ||
) |
|
protected |
|
protected |
void com.mygdx.game.components.attacking.LightBanditAttackComponent.awake | ( | ) |
boolean com.mygdx.game.components.attacking.LightBanditAttackComponent.isAttacking | ( | ) |
void com.mygdx.game.components.attacking.LightBanditAttackComponent.onReceiveEvent | ( | Event | event | ) |
This will be triggered when an event has been fired of type which this implementing class was listening to.
event | which has one of the event types which is listened to. |
Implements com.mygdx.game.engine.events.IEventReceiver.
|
protected |
|
protected |