Method | Description | |
---|---|---|
AddAnimation ( string src, Backend start, int cols = 1, int rows = 1, Backend offset = null, Backend crop = null, bool order = false ) : void |
Add multiple animation phases from a single file
|
|
FinalAnimation ( ) : void |
Show the final phase of the animation
|
|
GetSchema ( ) : System.Xml.Schema.XmlSchema |
Useless function from the IXmlSerializable-Interface
|
|
NextAnimation ( ) : bool |
Loop animation to next frame
|
|
ReadXml ( System reader ) : void |
Get XML-data from a file
|
|
ResetAnimation ( ) : void |
Restart current animation at first frame
|
|
TileObject ( ) : System | ||
TileObject ( Microsoft.Xna.Framework.Content.ContentManager content, int width = 128, int height = 192 ) : System |
|
|
WriteXml ( System writer ) : void |
Dump the whole group of animations to an XML-file
|
Method | Description | |
---|---|---|
Clear ( ) : void |
public AddAnimation ( string src, Backend start, int cols = 1, int rows = 1, Backend offset = null, Backend crop = null, bool order = false ) : void | ||
src | string | Source File |
start | Backend | TOp left corner of first frame (width and height determined by animation object!) |
cols | int | Number of columns used in the animation |
rows | int | Number of rows used in the animation |
offset | Backend | |
crop | Backend | |
order | bool | Whether to read row by row (false, default) or column by column (true) |
return | void |
public GetSchema ( ) : System.Xml.Schema.XmlSchema | ||
return | System.Xml.Schema.XmlSchema |
public ReadXml ( System reader ) : void | ||
reader | System | The file from which data will be read |
return | void |
public TileObject ( Microsoft.Xna.Framework.Content.ContentManager content, int width = 128, int height = 192 ) : System | ||
content | Microsoft.Xna.Framework.Content.ContentManager | |
width | int | |
height | int | |
return | System |
public WriteXml ( System writer ) : void | ||
writer | System | The file used to write the data |
return | void |