Метод | Описание | |
---|---|---|
Dispose ( ) : void |
Disposes and clears this object.
|
|
GetDirections ( ) : string[] |
Returns an array of the directions in this spriteset.
|
|
GetImage ( int index ) : Image |
Returns an image based on the given index.
|
|
GetImage ( string direction, int frame ) : Image |
Attempts to grab an image by using a direction and frame.
|
|
Load ( String filename ) : bool |
Attempts to load the spriteset from the given filename.
|
|
MakeNew ( ) : void |
Populates this spriteset with default info.
|
|
RemoveFrameReference ( int reference ) : void |
Removes the frame from the spriteset and its image array.
|
|
Save ( string filename ) : void |
Saves the Spriteset to the filename.
|
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void | ||
Purge ( ) : void |
public GetImage ( int index ) : Image | ||
index | int | The image index to use. |
Результат | Image |
public GetImage ( string direction, int frame ) : Image | ||
direction | string | The name of the direction to get an image from. |
frame | int | The frame in the direction to use. |
Результат | Image |
public Load ( String filename ) : bool | ||
filename | String | The filename of the Spriteset to load. |
Результат | bool |
public RemoveFrameReference ( int reference ) : void | ||
reference | int | |
Результат | void |
public Save ( string filename ) : void | ||
filename | string | The filename to store the spriteset. |
Результат | void |