Bandidos
|
Public Member Functions | |
boolean | isTutorialOver () |
BowDemonstrationTutorial (Player player, Playfield playfield) | |
void | startTutorial () |
void | onReceiveEvent (Event event) |
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 () |
Static Public Attributes | |
static final String | TUTORIAL_DONE_EVENT = "TutorialDoneEvent" |
Protected Member Functions | |
void | awake () |
void | updated (float dt) |
void | rendered (RenderComponents renderComponents) |
void | destroyed () |
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 () |
This entity will handle the full course of the interactive tutorial
com.mygdx.game.tutorial.BowDemonstrationTutorial.BowDemonstrationTutorial | ( | Player | player, |
Playfield | playfield | ||
) |
|
protected |
|
protected |
boolean com.mygdx.game.tutorial.BowDemonstrationTutorial.isTutorialOver | ( | ) |
Returns whether the tutorial is over or not.
void com.mygdx.game.tutorial.BowDemonstrationTutorial.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 |
void com.mygdx.game.tutorial.BowDemonstrationTutorial.startTutorial | ( | ) |
Starts the tutorial which displays the computer taking over bow control, spawning and killing an enemy and spawning and killing an enemy with a trap.
duration | on how long this tutorial animation must take. |
|
protected |
|
static |