DoopelPonger
|
Action to fire a cluster of bullets one after the other. More...
Public Attributes | |
CoopBall | badBallPrefab |
Range | maxBulletsRange |
Range | angleOffsetChangeRange |
Range | angleOffsetRange |
Range | delayRange |
Range | ballVelocityRange |
int | numberOfBalls |
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 () |
Determine the angle offset, angle change rate, velocity, and delay rate based on the input ranges. 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] |
Action to fire a cluster of bullets one after the other.
The public variables take a range of configuration values, but once the action has been reset, the values are chosen from the range to be used while launching the bullets.
|
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 |
Determine the angle offset, angle change rate, velocity, and delay rate based on the input ranges.
Implements CoopBaseActionPattern.
Range CoopBadSingleLinePattern.angleOffsetChangeRange |
The minimum and maximum amount of angle change between the bullets fired.
Range CoopBadSingleLinePattern.angleOffsetRange |
The minimum and maximum angle the first bullet should be fired at.
CoopBall CoopBadSingleLinePattern.badBallPrefab |
The prefab of the bullet that should be fired.
Range CoopBadSingleLinePattern.ballVelocityRange |
The minimum and maximum speed for the bullets spawned.
Range CoopBadSingleLinePattern.delayRange |
The minimum and maximum amount of wait time between bullets being fired.
Range CoopBadSingleLinePattern.maxBulletsRange |
The minimum and maximum amount of bullets to choose from.
int CoopBadSingleLinePattern.numberOfBalls |
The number of balls to fire.