DoopelPonger
|
The parent class for a collection of actions Schmitty Doop should perform. More...
Public Member Functions | |
void | Awake () |
Reset the state of the pattern when instantiated. More... | |
bool | MoveNext () |
void | Reset () |
Set the state of the pattern as if it has never been used. More... | |
void | Dispose () |
Protected Member Functions | |
abstract CoopActionInformation | GetItem (int itemPosition) |
Called when Schmitty Doop is looking for a new action to perform. More... | |
abstract void | OnReset () |
Called when the pattern is initialized or should put itself in a state as if it has never been used. More... | |
abstract int | GetMaxItems () |
Properties | |
CoopActionInformation | Current [get] |
The parent class for a collection of actions Schmitty Doop should perform.
A single attack or movement that Schmitty Doop does is called an action. When multiple actions are strung together then it becomes a pattern. This class is used by Schmitty Doop to be told what to do.
void CoopBaseActionPattern.Awake | ( | ) |
Reset the state of the pattern when instantiated.
void CoopBaseActionPattern.Dispose | ( | ) |
|
protectedpure virtual |
Called when Schmitty Doop is looking for a new action to perform.
itemPosition | The number of times Schmitty Doop has asked to an action while using this pattern. |
Implemented in CoopBadSlowDownBurst, CoopShotgunAttackPattern, CoopBadSingleLinePattern, CoopBaseLaserAttackPattern, CoopGoodBallFirstAttack, CoopBallSplitterPattern, CoopSmoothMovementPattern, CoopRandomMovementPattern, and CoopArrayActionPattern.
|
protectedpure virtual |
Implemented in CoopBadSlowDownBurst, CoopShotgunAttackPattern, CoopBadSingleLinePattern, CoopGoodBallFirstAttack, CoopRandomMovementPattern, CoopSmoothMovementPattern, CoopBaseLaserAttackPattern, CoopBallSplitterPattern, and CoopArrayActionPattern.
bool CoopBaseActionPattern.MoveNext | ( | ) |
|
protectedpure virtual |
Called when the pattern is initialized or should put itself in a state as if it has never been used.
Implemented in CoopBadSlowDownBurst, CoopShotgunAttackPattern, CoopBadSingleLinePattern, CoopGoodBallFirstAttack, CoopRandomMovementPattern, CoopBaseLaserAttackPattern, CoopSmoothMovementPattern, CoopBallSplitterPattern, and CoopArrayActionPattern.
void CoopBaseActionPattern.Reset | ( | ) |
Set the state of the pattern as if it has never been used.
|
get |