DoopelPonger
|
Data class gived to Schmitty Doop to fire a fan of bullets from its ears. More...
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... | |
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.
CoopShotgunAttackInformation.CoopShotgunAttackInformation | ( | CoopBall | ballPrefab, |
CoopBall | goodBallPrefab, | ||
float | probabilityOfGoodBall, | ||
int | numberOfBalls, | ||
int | numberOfGoodBalls, | ||
System.Type | ballMovementType, | ||
float | delayBetweenAttacks, | ||
CoopBallManager.BallMovementInitialize | ballMovementInitializer | ||
) |
readonly CoopBallManager.BallMovementInitialize CoopShotgunAttackInformation.ballMovementInitializer |
The initializer for the ball movement type.
readonly System.Type CoopShotgunAttackInformation.ballMovementType |
The type of ball movement assigned to each bullet
readonly CoopBall CoopShotgunAttackInformation.ballPrefab |
The blueprint of the bad bullet to spawn.
readonly CoopBall CoopShotgunAttackInformation.goodBallPrefab |
The blueprint of the good bullet to spawn.
readonly int CoopShotgunAttackInformation.numberOfBalls |
The number of total balls in the fan.
readonly int CoopShotgunAttackInformation.numberOfGoodBalls |
The max number of good balls in the fan.
readonly float CoopShotgunAttackInformation.probabilityOfGoodBall |
The chance that the current ball in the fan will be a good ball.