SpriteBaseIsInState Method |
Determines if the sprite is in the specified range of states.
Namespace: (Default Namespace)Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax public virtual bool IsInState(
int FirstState,
int LastState
)
Parameters
- FirstState
- Type: SystemInt32
Minimum state number - LastState
- Type: SystemInt32
Maximum state number
Return Value
Type:
BooleanReturns true if the sprite's current state is equal to
FirstState or
LastState or any state in between. False otherwise.
See Also