DoopelPonger
Public Attributes | Protected Member Functions | List of all members
CoopBadSlowDownBurst Class Reference

As one could possible guess by the name, this action pattern will shoot several balls in a circle. Each ball will have a movement speed that will always be decreasing. More...

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

Public Attributes

CoopBall badBallPrefab
 
Range maxBulletsRange
 
Range angleOffsetChangeRange
 
Range angleOffsetRange
 
Range delayRange
 
Range decreaseAmountRange
 
Range initialSpeedRange
 
Range numberOfBallsRange
 

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 ()
 Select the values to use from the ranges in the set of attacks. 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]
 

Detailed Description

As one could possible guess by the name, this action pattern will shoot several balls in a circle. Each ball will have a movement speed that will always be decreasing.

Member Function Documentation

◆ GetItem()

override CoopActionInformation CoopBadSlowDownBurst.GetItem ( int  itemPosition)
protectedvirtual

Called when Schmitty Doop is looking for a new action to perform.

Parameters
itemPositionThe number of times Schmitty Doop has asked to an action while using this pattern.
Returns
The action SchmittyDoop should perform.

Implements CoopBaseActionPattern.

◆ GetMaxItems()

override int CoopBadSlowDownBurst.GetMaxItems ( )
protectedvirtual
Returns
The number of actions in the pattern.

Implements CoopBaseActionPattern.

◆ OnReset()

override void CoopBadSlowDownBurst.OnReset ( )
protectedvirtual

Select the values to use from the ranges in the set of attacks.

Implements CoopBaseActionPattern.

Member Data Documentation

◆ angleOffsetChangeRange

Range CoopBadSlowDownBurst.angleOffsetChangeRange

Minimum and maximum angle change rate between shot bursts.

◆ angleOffsetRange

Range CoopBadSlowDownBurst.angleOffsetRange

Minimum and maximum angle offset for the circle of bullets to fire.

◆ badBallPrefab

CoopBall CoopBadSlowDownBurst.badBallPrefab

The ball to spawn.

◆ decreaseAmountRange

Range CoopBadSlowDownBurst.decreaseAmountRange

Minimum and maximum rate at which the speed of the bullets will decrease.

◆ delayRange

Range CoopBadSlowDownBurst.delayRange

Minimum and maximum wait before the next burst can fire.

◆ initialSpeedRange

Range CoopBadSlowDownBurst.initialSpeedRange

Minimum and maximum speed of the ball when they are initially fired.

◆ maxBulletsRange

Range CoopBadSlowDownBurst.maxBulletsRange

The minimum and maximum amount bursts to fire before the pattern is finished.

◆ numberOfBallsRange

Range CoopBadSlowDownBurst.numberOfBallsRange

Minimum and maximum number of balls to shoot in the burst.


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