Bandidos
Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
com.mygdx.game.ui.ScoreUI Class Reference
Inheritance diagram for com.mygdx.game.ui.ScoreUI:
com.mygdx.game.engine.entities.BaseEntity com.mygdx.game.engine.events.EventDispatcher

Public Member Functions

Vector2 getBackgroundSize ()
 
- 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< ListenerItemgetAllListeners ()
 
void destroyAllListeners ()
 
void clean ()
 

Static Public Attributes

static float SCORE_COUNT_DURATION = 0.45f
 

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 ()
 

Detailed Description

UI for the Player's Score. This Class handles the Score UI.

Author
Djamali Jones & Ramses Di Perna

Member Function Documentation

◆ awake()

void com.mygdx.game.ui.ScoreUI.awake ( )
protected

◆ destroyed()

void com.mygdx.game.ui.ScoreUI.destroyed ( )
protected

◆ getBackgroundSize()

Vector2 com.mygdx.game.ui.ScoreUI.getBackgroundSize ( )

Returns the size of the background which was set for this score ui.

Returns
The background size of this UI

◆ rendered()

void com.mygdx.game.ui.ScoreUI.rendered ( RenderComponents  renderComponents)
protected

◆ updated()

void com.mygdx.game.ui.ScoreUI.updated ( float  dt)
protected

Member Data Documentation

◆ SCORE_COUNT_DURATION

float com.mygdx.game.ui.ScoreUI.SCORE_COUNT_DURATION = 0.45f
static

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