DoopelPonger
Classes | Functions | Variables | Properties
Utilities

All code related to helping other classes do things. More...

Classes

class  BoundriesCreator
 Creates all game objects needed to start the game. More...
 
class  CoopBallManager
 A class full of helper methods for spawning balls from Schmitty Doop. More...
 
class  CoopObjectPooler
 Class used to hold and dish out allocated objects. More...
 
struct  AutoStateInformation< T >
 State data used to configure the AutoStateMachine. More...
 
class  AutoStateMachine< T >
 StateMachine that when the current state is finished it will automatically transition to the next registered state. More...
 
struct  StateInformation< T >
 State data used to configure the StateMachine. More...
 
class  StateMachine< T >
 
class  CommonDelegates
 Collection of delegate definitions that are used throughout the code base. More...
 
class  EnumUtils
 Collection of helper methods for Enums. More...
 
class  RandomUtils
 Collection of methods for generating random numbers. More...
 
class  Range
 Data class that holds a minimum and maximum value. More...
 
class  RegistrationQueue< T >
 Generic queue used for items that need to be added or removed at a future point in time. More...
 
class  Singleton< T >
 Be aware this will not prevent a non singleton constructor such as T myT = new T(); To prevent that, add protected T () {} to your singleton class. More...
 
class  SingletonScriptableObject< T >
 Class used to enforce the Singleton pattern for ScriptableObjects. More...
 
class  SmoothingUtils
 Collection of functions that perform smoothing functions. More...
 
class  Vector2Utils
 Collection of functions around the Vectotr2 object. More...
 
class  Vector3Utils
 Collection of functions around the Vector3 object. More...
 

Functions

 StateInformation< T >.StateInformation (T state, CommonDelegates.FixedUpdateAction stateAction, bool alwaysTransitionTo, bool stateLock, params T[] validTransitions)
 

Variables

readonly T StateInformation< T >.state
 
readonly bool StateInformation< T >.alwaysTransitionTo
 
readonly bool StateInformation< T >.stateLock
 
readonly CommonDelegates.FixedUpdateAction StateInformation< T >.stateAction
 
readonly HashSet< T > StateInformation< T >.validTransitions
 
static T SingletonScriptableObject< T >._instance = null
 

Properties

static T SingletonScriptableObject< T >.Instance [get]
 

Detailed Description

All code related to helping other classes do things.

Function Documentation

◆ StateInformation()

StateInformation< T >.StateInformation ( state,
CommonDelegates.FixedUpdateAction  stateAction,
bool  alwaysTransitionTo,
bool  stateLock,
params T []  validTransitions 
)

Variable Documentation

◆ _instance

T SingletonScriptableObject< T >._instance = null
static

◆ alwaysTransitionTo

readonly bool StateInformation< T >.alwaysTransitionTo

True if any other state in the state machine can transition to this state.

◆ state

readonly T StateInformation< T >.state

State name of this object.

◆ stateAction

Function to call when this state needs to do the action.

◆ stateLock

readonly bool StateInformation< T >.stateLock

True if the only way out of this state is by one of the valid transitions.

◆ validTransitions

readonly HashSet<T> StateInformation< T >.validTransitions

All available states that this state can transition to.

Properties

◆ Instance

T SingletonScriptableObject< T >.Instance
staticget