DoopelPonger
|
Parent class used by Schmitty Doop to move it when the action is of movement type. More...
Public Member Functions | |
abstract void | Init (Vector3 currentPosition, float currentRotation) |
Initialize the movement object based on Schmitty Doop's current position and rotation. More... | |
abstract Vector3 | GetNewPosition (Vector3 currentPosition, float deltaTime) |
Get the new position Schmitty Doop should be at. More... | |
abstract float | GetNewRotation (float currentRotation, float deltaTime) |
Get the new rotation Schmitty Doop should be at. More... | |
abstract bool | IsFinished () |
Parent class used by Schmitty Doop to move it when the action is of movement type.
|
pure virtual |
Get the new position Schmitty Doop should be at.
currentPosition | The position Schmitty Doop is at. |
deltaTime | Time time since this method was last called. |
Implemented in CoopSchmittyDoopLinearMovement, and CoopSchmittyDoopSmoothMovement.
|
pure virtual |
Get the new rotation Schmitty Doop should be at.
currentRotation | The rotation Schmitty Doop is at. |
deltaTime | Time time since this method was last called. |
Implemented in CoopSchmittyDoopLinearMovement, and CoopSchmittyDoopSmoothMovement.
|
pure virtual |
Initialize the movement object based on Schmitty Doop's current position and rotation.
currentPosition | Current position of Schmitty Doop |
currentRotation | Current rotation of Schmitty Doop |
Implemented in CoopSchmittyDoopLinearMovement, and CoopSchmittyDoopSmoothMovement.
|
pure virtual |
Implemented in CoopSchmittyDoopLinearMovement, and CoopSchmittyDoopSmoothMovement.