Bandidos
|
Public Member Functions | |
ScoreTracker () | |
void | clean () |
void | onReceiveEvent (Event event) |
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.
com.mygdx.game.hitRegistration.ScoreTracker.ScoreTracker | ( | ) |
void com.mygdx.game.hitRegistration.ScoreTracker.clean | ( | ) |
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.
event | which has one of the event types which is listened to. |
Implements com.mygdx.game.engine.events.IEventReceiver.