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

Data used to give to Schmitty Doop when it should fire ball splitter bullets. More...

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

Public Member Functions

 CoopBallSplitterAttackInformation (CoopBallSplitter splitterPrefab, int numberOfSplitters, int numberOfBadBalls, float splitterVelocity, float badBallVelocity, float delayBetweenActions)
 
- Public Member Functions inherited from CoopAttackInformation
 CoopAttackInformation (AttackType attackType, CoopBallManager.SpawnLocation spawnLocation, float delayBetweenActions)
 
- Public Member Functions inherited from CoopActionInformation
 CoopActionInformation (ActionType actionType, float delayBetweenActions)
 

Public Attributes

CoopBallSplitter splitterPrefab
 
int numberOfSplitters
 
int numberOfBadBalls
 
float splitterVelocity
 
float badBallVelocity
 
- Public Attributes inherited from CoopAttackInformation
AttackType attackType
 
CoopBallManager.SpawnLocation spawnLocation
 
- Public Attributes inherited from CoopActionInformation
float delayBetweenActions
 
ActionType actionType
 

Additional Inherited Members

- Public Types inherited from CoopAttackInformation
enum  AttackType {
  AttackType.GOOD_BALL, AttackType.SPLIT_BALL, AttackType.BAD_BALL, AttackType.LASER,
  AttackType.SHOTGUN
}
 The type of attacks the Schmitty Doop can perform. More...
 
- Public Types inherited from CoopActionInformation
enum  ActionType { ActionType.MOVEMENT, ActionType.ATTACK }
 Schmitty Doop can only ever do two actions, move or attack. Moving is used to rotate or position Schmitty Doop, while attacks are used to shoot bullets. More...
 

Detailed Description

Data used to give to Schmitty Doop when it should fire ball splitter bullets.

Constructor & Destructor Documentation

◆ CoopBallSplitterAttackInformation()

CoopBallSplitterAttackInformation.CoopBallSplitterAttackInformation ( CoopBallSplitter  splitterPrefab,
int  numberOfSplitters,
int  numberOfBadBalls,
float  splitterVelocity,
float  badBallVelocity,
float  delayBetweenActions 
)

Member Data Documentation

◆ badBallVelocity

float CoopBallSplitterAttackInformation.badBallVelocity

Speed the balls should have when the splitter splits.

◆ numberOfBadBalls

int CoopBallSplitterAttackInformation.numberOfBadBalls

Number of balls the splitter will split into.

◆ numberOfSplitters

int CoopBallSplitterAttackInformation.numberOfSplitters

Number of splitter bullets to spawn.

◆ splitterPrefab

CoopBallSplitter CoopBallSplitterAttackInformation.splitterPrefab

The blueprint for the splitter bullet.

◆ splitterVelocity

float CoopBallSplitterAttackInformation.splitterVelocity

Speed the splitter should move.


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