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

Data class gived to Schmitty Doop to fire a fan of bullets from its ears. More...

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

Public Member Functions

 CoopShotgunAttackInformation (CoopBall ballPrefab, CoopBall goodBallPrefab, float probabilityOfGoodBall, int numberOfBalls, int numberOfGoodBalls, System.Type ballMovementType, float delayBetweenAttacks, CoopBallManager.BallMovementInitialize ballMovementInitializer)
 
- 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

readonly CoopBall ballPrefab
 
readonly CoopBall goodBallPrefab
 
readonly float probabilityOfGoodBall
 
readonly int numberOfBalls
 
readonly int numberOfGoodBalls
 
readonly System.Type ballMovementType
 
readonly CoopBallManager.BallMovementInitialize ballMovementInitializer
 
- 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 class gived to Schmitty Doop to fire a fan of bullets from its ears.

The shotgun fan could have both good balls and bad balls.

Constructor & Destructor Documentation

◆ CoopShotgunAttackInformation()

CoopShotgunAttackInformation.CoopShotgunAttackInformation ( CoopBall  ballPrefab,
CoopBall  goodBallPrefab,
float  probabilityOfGoodBall,
int  numberOfBalls,
int  numberOfGoodBalls,
System.Type  ballMovementType,
float  delayBetweenAttacks,
CoopBallManager.BallMovementInitialize  ballMovementInitializer 
)

Member Data Documentation

◆ ballMovementInitializer

readonly CoopBallManager.BallMovementInitialize CoopShotgunAttackInformation.ballMovementInitializer

The initializer for the ball movement type.

◆ ballMovementType

readonly System.Type CoopShotgunAttackInformation.ballMovementType

The type of ball movement assigned to each bullet

◆ ballPrefab

readonly CoopBall CoopShotgunAttackInformation.ballPrefab

The blueprint of the bad bullet to spawn.

◆ goodBallPrefab

readonly CoopBall CoopShotgunAttackInformation.goodBallPrefab

The blueprint of the good bullet to spawn.

◆ numberOfBalls

readonly int CoopShotgunAttackInformation.numberOfBalls

The number of total balls in the fan.

◆ numberOfGoodBalls

readonly int CoopShotgunAttackInformation.numberOfGoodBalls

The max number of good balls in the fan.

◆ probabilityOfGoodBall

readonly float CoopShotgunAttackInformation.probabilityOfGoodBall

The chance that the current ball in the fan will be a good ball.


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