Method | Description | |
---|---|---|
ActorView ( ) : System | ||
ActorView ( |
|
|
Add ( Backend activity, Backend direction, string filename, Backend startPos, int cols = 1, int rows = 1, Backend offset = null, Backend crop = null, bool vertical = false ) : void |
Add animation for certain activity from a file
|
|
Animate ( bool hasMoved ) : void | ||
EndMoveAndPlay ( Backend activity, bool locked = false ) : void | ||
Kill ( ) : void |
Sets an actor to "dead" state and displays final frame of animation
|
|
Load ( string filename = "bla.xml" ) : void |
Load (cannot use serializer at this level!)
|
|
PlayNowOrAfterMove ( Backend activity, bool locked = false ) : void | ||
ReadXml ( System reader ) : void |
Load object from XML-file
|
|
Save ( string filename = "bla.xml" ) : void |
Save (merely a shortcut to the serializer
|
|
Update ( |
|
|
WriteXml ( System writer ) : void |
Dump object to XML-file
|
public ActorView ( |
||
camera | ||
parent | Backend | |
id | int | |
content | Microsoft.Xna.Framework.Content.ContentManager | |
position | Backend | |
actor | Backend | |
filename | string | |
speed | int | |
alive | bool | |
width | int | |
height | int | |
return | System |
public Add ( Backend activity, Backend direction, string filename, Backend startPos, int cols = 1, int rows = 1, Backend offset = null, Backend crop = null, bool vertical = false ) : void | ||
activity | Backend | |
direction | Backend | |
filename | string | |
startPos | Backend | |
cols | int | |
rows | int | |
offset | Backend | |
crop | Backend | |
vertical | bool | |
return | void |
public EndMoveAndPlay ( Backend activity, bool locked = false ) : void | ||
activity | Backend | |
locked | bool | |
return | void |
public PlayNowOrAfterMove ( Backend activity, bool locked = false ) : void | ||
activity | Backend | |
locked | bool | |
return | void |
public ReadXml ( System reader ) : void | ||
reader | System | Load object from XML-stream |
return | void |
public Update ( |
||
gametime | ||
return | void |
public WriteXml ( System writer ) : void | ||
writer | System | Write object to XML-stream |
return | void |