SpriteState Class |
Namespace: (Default Namespace)
public class SpriteState
The SpriteState type exposes the following members.
Name | Description | |
---|---|---|
![]() | SpriteState |
Constructs a new state given all the information for the state.
|
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetFrame |
Return a list of all frame indexes that represent a particular animation frame of a sprite.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetMask |
Get the collision mask for a specified sprite frame.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | Frameset |
Returns the frameset on which all graphics in this state are based.
|
![]() | LocalBounds |
Returns a rectangle (relative to the origin of the sprite) that bounds
all the graphics in this state.
|
![]() | SolidHeight |
Retrieve the solid height of this state.
|
![]() | SolidWidth |
Retrieve the solid width of this state.
|