StateTrackerTStateData Class |
Namespace: Gamelogic.Extensions
The StateTrackerTStateData type exposes the following members.
Name | Description | |
---|---|---|
StateTrackerTStateData |
Initializes a new instance of the StateTrackerTStateData class.
|
Name | Description | |
---|---|---|
ActiveTokens |
Returns all the active tokens: tokens returned when states has been started that has not yet
been stopped.
| |
IsActive |
Gets a value indicating whether this tracker is active, that is, whether
any state has been started that has not been stopped.
|
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
StartState |
Starts a state, and returns a token that can be used to stop it again.
| |
StopState |
Stops the state associated with the token. The token must be one that was
returned when the state was started.
| |
ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
OnStateActive |
Occurs when this tracker is inactive and a state is started (so that this tracker becomes active).
| |
OnStateInactive |
Occurs when all active states are stopped, that is, when this tracker is active and becomes inactive.
|
Name | Description | |
---|---|---|
ThrowIfNull |
Throws a NullReferenceException if the object is null.
(Defined by ObjectExtensions.) |