DoopelPonger
|
Pattern that shoots balls that will then split into other balls. More...
Public Attributes | |
CoopBallSplitter | splitterPrefab |
float | splitterVelocity |
float | badBallVelocity |
float | delay |
int | numberOfItems |
int | numberOfSplitters |
int | numberOfBadBalls |
Protected Member Functions | |
override CoopActionInformation | GetItem (int itemPosition) |
Called when Schmitty Doop is looking for a new action to perform. More... | |
override int | GetMaxItems () |
override void | OnReset () |
Called when the pattern is initialized or should put itself in a state as if it has never been used. More... | |
Additional Inherited Members | |
Public Member Functions inherited from CoopBaseActionPattern | |
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 () |
Properties inherited from CoopBaseActionPattern | |
CoopActionInformation | Current [get] |
Pattern that shoots balls that will then split into other balls.
|
protectedvirtual |
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. |
Implements CoopBaseActionPattern.
|
protectedvirtual |
Implements CoopBaseActionPattern.
|
protectedvirtual |
Called when the pattern is initialized or should put itself in a state as if it has never been used.
Implements CoopBaseActionPattern.
float CoopBallSplitterPattern.badBallVelocity |
The speed of the balls once the splitter breaks apart.
float CoopBallSplitterPattern.delay |
The amount of time to wait before the next attack.
int CoopBallSplitterPattern.numberOfBadBalls |
The number of balls the splitter should split into.
int CoopBallSplitterPattern.numberOfItems |
The number of waves in the pattern
int CoopBallSplitterPattern.numberOfSplitters |
The number of splitters to shoot per wave.
CoopBallSplitter CoopBallSplitterPattern.splitterPrefab |
The ball splitter prefab that should be used to spawn bullets.
float CoopBallSplitterPattern.splitterVelocity |
The speed the initial splitter should travel.