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

Pattern that fires lasers out of Schmitty Doop's ears. More...

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

Public Attributes

CoopLaserAttack laserAttackPrefab
 Prefab of the lasers to spawn in. More...
 
Range lengthRange
 Minimum and maximum length of the laser on the x axis. More...
 
Range widthRange
 Minimum and maximum width of the laser on the y axis. More...
 
Range velocityRange
 Minimum and maximum speed the laser should move. More...
 
Range growthRateRange
 Minimum and maximum speed the laser should come out of the ears. More...
 
Range delayBetweenAttacksRange
 Minimum and maximum delay between waves of lasers. More...
 

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

Pattern that fires lasers out of Schmitty Doop's ears.

Member Function Documentation

◆ GetItem()

override CoopActionInformation CoopBaseLaserAttackPattern.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 CoopBaseLaserAttackPattern.GetMaxItems ( )
protectedvirtual
Returns
The number of actions in the pattern.

Implements CoopBaseActionPattern.

◆ OnReset()

override void CoopBaseLaserAttackPattern.OnReset ( )
protectedvirtual

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

Implements CoopBaseActionPattern.

Member Data Documentation

◆ delayBetweenAttacksRange

Range CoopBaseLaserAttackPattern.delayBetweenAttacksRange

Minimum and maximum delay between waves of lasers.

◆ growthRateRange

Range CoopBaseLaserAttackPattern.growthRateRange

Minimum and maximum speed the laser should come out of the ears.

◆ laserAttackPrefab

CoopLaserAttack CoopBaseLaserAttackPattern.laserAttackPrefab

Prefab of the lasers to spawn in.

◆ lengthRange

Range CoopBaseLaserAttackPattern.lengthRange

Minimum and maximum length of the laser on the x axis.

◆ velocityRange

Range CoopBaseLaserAttackPattern.velocityRange

Minimum and maximum speed the laser should move.

◆ widthRange

Range CoopBaseLaserAttackPattern.widthRange

Minimum and maximum width of the laser on the y axis.


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