DoopelPonger
|
Parent class of all animations for the player. All implementations of this class will have the methods triggerd by CoopPlayerAnimatorController. More...
Public Member Functions | |
abstract void | Init (Animator playerAnimator) |
Initialize the animator. More... | |
abstract void | PowerUpChargeChange (float percentCharge, bool prematureActivation) |
The amount of charge the player has has changed. More... | |
abstract void | PlayerBadBallHit () |
The player has been hit with a bad ball. More... | |
abstract void | PlayerGoodBallHit () |
The player has been hit with a good ball. More... | |
abstract void | PowerUpActivated () |
The player has activated a power up. More... | |
abstract void | PowerUpDeactivated () |
The player has had their power up run out. More... | |
Parent class of all animations for the player. All implementations of this class will have the methods triggerd by CoopPlayerAnimatorController.
|
pure virtual |
Initialize the animator.
playerAnimator | The Unity animator component on the CoopPlayer gameObject. |
Implemented in CoopPlayerScaleAnimatorDelegate, CoopPlayerLightAnimatorDelegate, and CoopPlayerColorAnimatorDelegate.
|
pure virtual |
The player has been hit with a bad ball.
Implemented in CoopPlayerScaleAnimatorDelegate, CoopPlayerLightAnimatorDelegate, and CoopPlayerColorAnimatorDelegate.
|
pure virtual |
The player has been hit with a good ball.
Implemented in CoopPlayerScaleAnimatorDelegate, CoopPlayerLightAnimatorDelegate, and CoopPlayerColorAnimatorDelegate.
|
pure virtual |
The player has activated a power up.
Implemented in CoopPlayerScaleAnimatorDelegate, CoopPlayerLightAnimatorDelegate, and CoopPlayerColorAnimatorDelegate.
|
pure virtual |
The amount of charge the player has has changed.
chargePercent | The amount of charge the player has from 0 to 1 |
prematureActivation | Means that the player tried to use their power up before actually having a full charge. |
Implemented in CoopPlayerScaleAnimatorDelegate, CoopPlayerLightAnimatorDelegate, and CoopPlayerColorAnimatorDelegate.
|
pure virtual |
The player has had their power up run out.
Implemented in CoopPlayerScaleAnimatorDelegate, CoopPlayerLightAnimatorDelegate, and CoopPlayerColorAnimatorDelegate.