FsmStateT Class |
Namespace: Archon.SwissArmyLib.Automata
public abstract class FsmState<T> : BaseState<FiniteStateMachine<T>, T>, IFsmState<T>, IState<FiniteStateMachine<T>, T>
The FsmStateT type exposes the following members.
Name | Description | |
---|---|---|
Context |
The context for this state.
(Inherited from BaseStateTMachine, TContext.) | |
Machine |
The state machine this state belongs to.
(Inherited from BaseStateTMachine, TContext.) | |
TimeInState |
Amount of (active) time spent in this state since it was entered.
(Inherited from BaseStateTMachine, TContext.) |
Name | Description | |
---|---|---|
Act |
Called every frame after Reason, if the state hasn't been changed.
(Inherited from BaseStateTMachine, TContext.) | |
Begin |
Called when the state is entered.
(Inherited from BaseStateTMachine, TContext.) | |
End |
Called when the state is exited.
(Inherited from BaseStateTMachine, TContext.) | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Reason |
Called every frame just before Act(Single).
Use this to check whether you should change state.
(Inherited from BaseStateTMachine, TContext.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |