DoopelPonger
|
Data class used to give Schmitty Doop the information needed to fire bullets. More...
Public Member Functions | |
CoopBallAttackInformation (CoopBall ballPrefab, AttackType attackType, CoopBallManager.SpawnLocation spawnLocation, float angleOffset, int numberOfBalls, float delayBetweenAttacks, System.Type ballMovementType, 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 | |
CoopBall | ballPrefab |
float | angleOffset |
int | numberOfBalls |
System.Type | ballMovementType |
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 used to give Schmitty Doop the information needed to fire bullets.
CoopBallAttackInformation.CoopBallAttackInformation | ( | CoopBall | ballPrefab, |
AttackType | attackType, | ||
CoopBallManager.SpawnLocation | spawnLocation, | ||
float | angleOffset, | ||
int | numberOfBalls, | ||
float | delayBetweenAttacks, | ||
System.Type | ballMovementType, | ||
CoopBallManager.BallMovementInitialize | ballMovementInitializer | ||
) |
float CoopBallAttackInformation.angleOffset |
The starting angle of the balls being fired.
CoopBallManager.BallMovementInitialize CoopBallAttackInformation.ballMovementInitializer |
Function pointer to the intitalizer the ballMovementType assigned to the bullets.
System.Type CoopBallAttackInformation.ballMovementType |
The movement that should be assigned to the spawned bullets.
CoopBall CoopBallAttackInformation.ballPrefab |
Blueprint for the bullet that should be spawned.
int CoopBallAttackInformation.numberOfBalls |
Number of bullets to fire.