DoopelPonger
Public Member Functions | Static Public Member Functions | List of all members
CommonDelegates Class Reference

Collection of delegate definitions that are used throughout the code base. More...

Public Member Functions

delegate bool AutoStateAction (float timeSinceStateActive)
 
delegate void FixedUpdateAction ()
 Function called during the FixedUpdate tick. More...
 
delegate void UpdateAction ()
 Function called during the Update tick. More...
 
delegate void FileRetrieved (string fileName, string content)
 Function used when reading files from the StreamingAssets directory to notify the requesting function a file as been retrieved. More...
 

Static Public Member Functions

static void DoNothing ()
 
static bool AutoDoNothing (float timeSinceStateActive)
 

Detailed Description

Collection of delegate definitions that are used throughout the code base.

Member Function Documentation

◆ AutoDoNothing()

static bool CommonDelegates.AutoDoNothing ( float  timeSinceStateActive)
static

◆ AutoStateAction()

delegate bool CommonDelegates.AutoStateAction ( float  timeSinceStateActive)
Parameters
timeSinceStateActiveThe amount of time that has passed that the state has been active.
Returns
True if the state can be transitioned to the next state. Return false if the state should not be transitioned yet.

◆ DoNothing()

static void CommonDelegates.DoNothing ( )
static

◆ FileRetrieved()

delegate void CommonDelegates.FileRetrieved ( string  fileName,
string  content 
)

Function used when reading files from the StreamingAssets directory to notify the requesting function a file as been retrieved.

Parameters
fileNameThe name of the file that was retrieved.
contentEverything in the file.

◆ FixedUpdateAction()

delegate void CommonDelegates.FixedUpdateAction ( )

Function called during the FixedUpdate tick.

◆ UpdateAction()

delegate void CommonDelegates.UpdateAction ( )

Function called during the Update tick.


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