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

Data class used to give Schmitty Doop the information needed to fire bullets. More...

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

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...
 

Detailed Description

Data class used to give Schmitty Doop the information needed to fire bullets.

Constructor & Destructor Documentation

◆ CoopBallAttackInformation()

CoopBallAttackInformation.CoopBallAttackInformation ( CoopBall  ballPrefab,
AttackType  attackType,
CoopBallManager.SpawnLocation  spawnLocation,
float  angleOffset,
int  numberOfBalls,
float  delayBetweenAttacks,
System.Type  ballMovementType,
CoopBallManager.BallMovementInitialize  ballMovementInitializer 
)

Member Data Documentation

◆ angleOffset

float CoopBallAttackInformation.angleOffset

The starting angle of the balls being fired.

◆ ballMovementInitializer

CoopBallManager.BallMovementInitialize CoopBallAttackInformation.ballMovementInitializer

Function pointer to the intitalizer the ballMovementType assigned to the bullets.

◆ ballMovementType

System.Type CoopBallAttackInformation.ballMovementType

The movement that should be assigned to the spawned bullets.

◆ ballPrefab

CoopBall CoopBallAttackInformation.ballPrefab

Blueprint for the bullet that should be spawned.

◆ numberOfBalls

int CoopBallAttackInformation.numberOfBalls

Number of bullets to fire.


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