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

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

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

Public Types

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...
 

Public Member Functions

 CoopAttackInformation (AttackType attackType, CoopBallManager.SpawnLocation spawnLocation, float delayBetweenActions)
 
- Public Member Functions inherited from CoopActionInformation
 CoopActionInformation (ActionType actionType, float delayBetweenActions)
 

Public Attributes

AttackType attackType
 
CoopBallManager.SpawnLocation spawnLocation
 
- Public Attributes inherited from CoopActionInformation
float delayBetweenActions
 
ActionType actionType
 

Detailed Description

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

Member Enumeration Documentation

◆ AttackType

The type of attacks the Schmitty Doop can perform.

Enumerator
GOOD_BALL 
SPLIT_BALL 
BAD_BALL 
LASER 
SHOTGUN 

Constructor & Destructor Documentation

◆ CoopAttackInformation()

CoopAttackInformation.CoopAttackInformation ( AttackType  attackType,
CoopBallManager.SpawnLocation  spawnLocation,
float  delayBetweenActions 
)

Member Data Documentation

◆ attackType

AttackType CoopAttackInformation.attackType

Attack Schmitty Doop should perform.

◆ spawnLocation

CoopBallManager.SpawnLocation CoopAttackInformation.spawnLocation

The locoation the attacks should originate from.


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