Bandidos
Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
com.mygdx.game.scenes.GameScene Class Reference
Inheritance diagram for com.mygdx.game.scenes.GameScene:
com.mygdx.game.engine.scenes.BaseScene com.mygdx.game.engine.events.IEventReceiver

Public Member Functions

void update (float dt)
 
void render ()
 
void destroyed ()
 
void onReceiveEvent (Event event)
 
- Public Member Functions inherited from com.mygdx.game.engine.scenes.BaseScene
void Initialize (BaseScenesManager manager)
 
void destroy ()
 
abstract void update (float dt)
 
abstract void render ()
 

Static Public Attributes

static final boolean DEVELOPMENT_SKIP_TUTORIAL = false
 
static final boolean DEVELOPMENT_RESET_GAME_PREFS_EVERY_PLAY = true
 
static float TUTORIAL_DURATION = 8f
 

Protected Member Functions

void created ()
 
- Protected Member Functions inherited from com.mygdx.game.engine.scenes.BaseScene
abstract void created ()
 
abstract void destroyed ()
 
BaseScenesManager getScenesManager ()
 
RenderComponents getRenderComponents ()
 

Detailed Description

This scene is the main game scene. This will spawn and set the world for the game related classes.

Author
Ramses Di Perna

Member Function Documentation

◆ created()

void com.mygdx.game.scenes.GameScene.created ( )
protected

◆ destroyed()

void com.mygdx.game.scenes.GameScene.destroyed ( )

◆ onReceiveEvent()

void com.mygdx.game.scenes.GameScene.onReceiveEvent ( Event  event)

This will be triggered when an event has been fired of type which this implementing class was listening to.

Parameters
eventwhich has one of the event types which is listened to.

Implements com.mygdx.game.engine.events.IEventReceiver.

◆ render()

void com.mygdx.game.scenes.GameScene.render ( )

◆ update()

void com.mygdx.game.scenes.GameScene.update ( float  dt)

Member Data Documentation

◆ DEVELOPMENT_RESET_GAME_PREFS_EVERY_PLAY

final boolean com.mygdx.game.scenes.GameScene.DEVELOPMENT_RESET_GAME_PREFS_EVERY_PLAY = true
static

◆ DEVELOPMENT_SKIP_TUTORIAL

final boolean com.mygdx.game.scenes.GameScene.DEVELOPMENT_SKIP_TUTORIAL = false
static

◆ TUTORIAL_DURATION

float com.mygdx.game.scenes.GameScene.TUTORIAL_DURATION = 8f
static

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