Bandidos
Classes | Public Member Functions | List of all members
com.mygdx.game.hitRegistration.ScoreTracker Class Reference
Inheritance diagram for com.mygdx.game.hitRegistration.ScoreTracker:
com.mygdx.game.engine.events.IEventReceiver

Public Member Functions

 ScoreTracker ()
 
void clean ()
 
void onReceiveEvent (Event event)
 

Detailed Description

This class tracks the score using the HiRegistrationPoint and spawns the text effects which represents them. If the hit contains the hit type 'HitGlobals.TYPE_ONLY_BONUS_SCORE', it will only register the bonus score, not the core score.

Author
Ramses Di Perna

Constructor & Destructor Documentation

◆ ScoreTracker()

com.mygdx.game.hitRegistration.ScoreTracker.ScoreTracker ( )

Member Function Documentation

◆ clean()

void com.mygdx.game.hitRegistration.ScoreTracker.clean ( )

◆ onReceiveEvent()

void com.mygdx.game.hitRegistration.ScoreTracker.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.


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