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

Provide Schmitty Doop with actions based on an array. This is the primary way Schmitty Doop gets attack information. More...

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

Public Attributes

CoopActionInformation [] actionInformation
 

Protected Member Functions

override CoopActionInformation GetItem (int itemPosition)
 Called when Schmitty Doop is looking for a new action to perform. More...
 
override int GetMaxItems ()
 
override void OnReset ()
 Called when the pattern is initialized or should put itself in a state as if it has never been used. More...
 

Additional Inherited Members

- Public Member Functions inherited from CoopBaseActionPattern
void Awake ()
 Reset the state of the pattern when instantiated. More...
 
bool MoveNext ()
 
void Reset ()
 Set the state of the pattern as if it has never been used. More...
 
void Dispose ()
 
- Properties inherited from CoopBaseActionPattern
CoopActionInformation Current [get]
 

Detailed Description

Provide Schmitty Doop with actions based on an array. This is the primary way Schmitty Doop gets attack information.

Member Function Documentation

◆ GetItem()

override CoopActionInformation CoopArrayActionPattern.GetItem ( int  itemPosition)
protectedvirtual

Called when Schmitty Doop is looking for a new action to perform.

Parameters
itemPositionThe number of times Schmitty Doop has asked to an action while using this pattern.
Returns
The action SchmittyDoop should perform.

Implements CoopBaseActionPattern.

◆ GetMaxItems()

override int CoopArrayActionPattern.GetMaxItems ( )
protectedvirtual
Returns
The number of actions in the pattern.

Implements CoopBaseActionPattern.

◆ OnReset()

override void CoopArrayActionPattern.OnReset ( )
protectedvirtual

Called when the pattern is initialized or should put itself in a state as if it has never been used.

Implements CoopBaseActionPattern.

Member Data Documentation

◆ actionInformation

CoopActionInformation [] CoopArrayActionPattern.actionInformation

The list of actions that should be given to Schmitty Doop.


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