DoopelPonger
Public Member Functions | List of all members
CoopPlayerVomitAnimator Class Reference

Handles the state management of the Unity Animator for the vomit power up. More...

Inheritance diagram for CoopPlayerVomitAnimator:
Inheritance graph
[legend]
Collaboration diagram for CoopPlayerVomitAnimator:
Collaboration graph
[legend]

Public Member Functions

void Awake ()
 Initializes the references needed. More...
 
void SpawnMouth ()
 Triggers the animation to spawn the mouth of the cannon. More...
 
void FireMouth (System.Action animationFinishedCallback)
 Triggers the animation to show the mouth has fired a bunch of balls. More...
 
void DespawnMouth (System.Action animationFinishedCallback)
 Triggers the animation to despawn the mouth. More...
 
void AnimationFinished ()
 Callback from the Unity Animator when an animation is finished. More...
 

Detailed Description

Handles the state management of the Unity Animator for the vomit power up.

Member Function Documentation

◆ AnimationFinished()

void CoopPlayerVomitAnimator.AnimationFinished ( )

Callback from the Unity Animator when an animation is finished.

◆ Awake()

void CoopPlayerVomitAnimator.Awake ( )

Initializes the references needed.

◆ DespawnMouth()

void CoopPlayerVomitAnimator.DespawnMouth ( System.Action  animationFinishedCallback)

Triggers the animation to despawn the mouth.

Parameters
animationFinishedCallbackFunction to be notified when the despawn animation is finished.

◆ FireMouth()

void CoopPlayerVomitAnimator.FireMouth ( System.Action  animationFinishedCallback)

Triggers the animation to show the mouth has fired a bunch of balls.

Parameters
animationFinishedCallbackFunction to be notified when the fire animation is finished.

◆ SpawnMouth()

void CoopPlayerVomitAnimator.SpawnMouth ( )

Triggers the animation to spawn the mouth of the cannon.


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