C# Class BuilderSetupHandler, PocketGodsRPG_Proto

A simple state machine to setup the city building game. Serves as a main() program. By: NeilDG
Inheritance: MonoBehaviour
Afficher le fichier Open project: pocket-playlab/PocketGodsRPG_Proto Class Usage Examples

Méthodes publiques

Méthode Description
Awake ( ) : void
GetCurrentState ( ) : BuilderStateType
InitializeStateTable ( ) : void
OnDestroy ( ) : void
RegisterEventReceiver ( BuilderStateType builderState, System action ) : void

Convenience function that attaches an event receiver via event broadcaster system by specifying the corresponding build state. Does not accept parameters.

RemoveEventReceiver ( BuilderStateType builderState ) : void
SetState ( BuilderStateType stateType ) : void
Start ( ) : void

Private Methods

Méthode Description
DelayedMain ( ) : IEnumerator

Method Details

Awake() public méthode

public Awake ( ) : void
Résultat void

GetCurrentState() public méthode

public GetCurrentState ( ) : BuilderStateType
Résultat BuilderStateType

InitializeStateTable() public méthode

public InitializeStateTable ( ) : void
Résultat void

OnDestroy() public méthode

public OnDestroy ( ) : void
Résultat void

RegisterEventReceiver() public static méthode

Convenience function that attaches an event receiver via event broadcaster system by specifying the corresponding build state. Does not accept parameters.
public static RegisterEventReceiver ( BuilderStateType builderState, System action ) : void
builderState BuilderStateType Builder state.
action System Action.
Résultat void

RemoveEventReceiver() public static méthode

public static RemoveEventReceiver ( BuilderStateType builderState ) : void
builderState BuilderStateType
Résultat void

SetState() public méthode

public SetState ( BuilderStateType stateType ) : void
stateType BuilderStateType
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void