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

Data class given to Schmitty Doop to do the action. Any time Schmitty Doop moves or attacks, the CoopActionInformation tells Schmitty Doop what to do. More...

Inheritance diagram for CoopActionInformation:
Inheritance graph
[legend]

Public Types

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

Public Member Functions

 CoopActionInformation (ActionType actionType, float delayBetweenActions)
 

Public Attributes

float delayBetweenActions
 
ActionType actionType
 

Detailed Description

Data class given to Schmitty Doop to do the action. Any time Schmitty Doop moves or attacks, the CoopActionInformation tells Schmitty Doop what to do.

Member Enumeration Documentation

◆ ActionType

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.

Enumerator
MOVEMENT 
ATTACK 

Constructor & Destructor Documentation

◆ CoopActionInformation()

CoopActionInformation.CoopActionInformation ( ActionType  actionType,
float  delayBetweenActions 
)

Member Data Documentation

◆ actionType

ActionType CoopActionInformation.actionType

The type of action the information is.

◆ delayBetweenActions

float CoopActionInformation.delayBetweenActions

The amount of time after this action is finished before starting the next action.


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