|
DoopelPonger
|
A class full of helper methods for spawning balls from Schmitty Doop. More...


Public Types | |
| enum | SpawnLocation { SpawnLocation.EARS, SpawnLocation.MOUTH } |
| The starting position of the balls being spawned. More... | |
Public Member Functions | |
| delegate void | BallMovementInitialize< T > (T ballMovement) |
| delegate void | BallMovementInitialize (CoopBallMovement ballMovement) |
| void | Awake () |
| Initialize the references needed by the CoopBallManager. More... | |
| void | ShootLaser (CoopLaserAttack laserPrefab, CoopLaserAttackInformation attackInformation, Transform parent) |
| Spawns two lasers out of Schmitty Doop's ears at the same time. More... | |
| void | SpawnBallSplitter (CoopBallSplitterAttackInformation attackInformation) |
| Creates a splitter ball based on the information passed in. More... | |
| void | SpawnBalls (CoopShotgunAttackInformation attackInformation) |
| Spawn a fan of bullets from Schmitty Doop. More... | |
| void | SpawnBalls (CoopBall ballPrefab, CoopBallAttackInformation attackInformation) |
| Spawn bullets to be fired by Schmitty Doop. More... | |
Public Attributes | |
| Transform | mouthTransform |
| Transform | rightEarTransform |
| Transform | leftEarTransform |
A class full of helper methods for spawning balls from Schmitty Doop.
|
strong |
| void CoopBallManager.Awake | ( | ) |
Initialize the references needed by the CoopBallManager.
| delegate void CoopBallManager.BallMovementInitialize | ( | CoopBallMovement | ballMovement | ) |
| delegate void CoopBallManager.BallMovementInitialize< T > | ( | T | ballMovement | ) |
| T | : | CoopBallMovement |
| void CoopBallManager.ShootLaser | ( | CoopLaserAttack | laserPrefab, |
| CoopLaserAttackInformation | attackInformation, | ||
| Transform | parent | ||
| ) |
Spawns two lasers out of Schmitty Doop's ears at the same time.
| laserPrefab | The copy of laserPrefab that should be used to create the laser objects. |
| attackInformation | Configurable data about the laser, like length, speed, etc. |
| parent | The new spawned lasers will be children of the parent object. |
| void CoopBallManager.SpawnBalls | ( | CoopShotgunAttackInformation | attackInformation | ) |
Spawn a fan of bullets from Schmitty Doop.
| attackInformation | Data about the fan of bullets that should be spawned, like speed, number of balls, etc. |
| void CoopBallManager.SpawnBalls | ( | CoopBall | ballPrefab, |
| CoopBallAttackInformation | attackInformation | ||
| ) |
Spawn bullets to be fired by Schmitty Doop.
| ballPrefab | The copy of ballPrefab that should be used to create the ball objects. |
| attackInformation | Data about the bullets that should be created, like speed, number of balls, movement type, etc. |
| void CoopBallManager.SpawnBallSplitter | ( | CoopBallSplitterAttackInformation | attackInformation | ) |
Creates a splitter ball based on the information passed in.
| attackInformation | Data about the ball to spawn, like speed, number of balls to split into, etc. |
| Transform CoopBallManager.leftEarTransform |
The location of the left ear that the balls will spawn from.
| Transform CoopBallManager.mouthTransform |
The location of the mouth that the balls will spawn from.
| Transform CoopBallManager.rightEarTransform |
The location of the right ear that the balls will spawn from.
1.8.14