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

Data used to give to Schmitty Doop to make lasers come out of its ears. More...

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

Public Member Functions

 CoopLaserAttackInformation (CoopLaserAttack laserAttackPrefab, float length, float width, float velocity, float growthRate, float delayBetweenAttacks)
 
- 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

CoopLaserAttack laserAttackPrefab
 
float length
 
float width
 
float velocity
 
float growthRate
 
- 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 to make lasers come out of its ears.

Constructor & Destructor Documentation

◆ CoopLaserAttackInformation()

CoopLaserAttackInformation.CoopLaserAttackInformation ( CoopLaserAttack  laserAttackPrefab,
float  length,
float  width,
float  velocity,
float  growthRate,
float  delayBetweenAttacks 
)

Member Data Documentation

◆ growthRate

float CoopLaserAttackInformation.growthRate

The speed the laser spawns out of Schmitty Doop's ears.

◆ laserAttackPrefab

CoopLaserAttack CoopLaserAttackInformation.laserAttackPrefab

The laser prefab used to make coppies during the attack.

◆ length

float CoopLaserAttackInformation.length

The length of the laser on the x axis.

◆ velocity

float CoopLaserAttackInformation.velocity

The speed the laser moves on the x axis.

◆ width

float CoopLaserAttackInformation.width

The width of the laser on the y axis.


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