C# Class SCSharp.UI.Sprite

Afficher le fichier Open project: kangaroo/scsharp Class Usage Examples

Méthodes publiques

Méthode Description
AddToPainter ( ) : void
GetPosition ( int &xo, int &yo ) : void
GetTopLeftPosition ( int &xo, int &yo ) : void
RemoveFromPainter ( ) : void
RunScript ( AnimationType animationType ) : void
RunScript ( ushort script_start ) : void
SetPosition ( int x, int y ) : void
Sprite ( Mpq mpq, int sprite_entry, byte palette, int x, int y ) : System
Sprite ( Sprite parentSprite, ushort images_entry, byte palette ) : System
Tick ( int millis_elapsed ) : bool

Private Methods

Méthode Description
DoPlayFrame ( int frame_num ) : void
PaintSprite ( System.DateTime now ) : void
ReadByte ( ushort &pc ) : byte
ReadWord ( ushort &pc ) : ushort
Sprite ( ) : System
Trace ( string fmt ) : void
TraceLine ( string fmt ) : void

Method Details

AddToPainter() public méthode

public AddToPainter ( ) : void
Résultat void

GetPosition() public méthode

public GetPosition ( int &xo, int &yo ) : void
xo int
yo int
Résultat void

GetTopLeftPosition() public méthode

public GetTopLeftPosition ( int &xo, int &yo ) : void
xo int
yo int
Résultat void

RemoveFromPainter() public méthode

public RemoveFromPainter ( ) : void
Résultat void

RunScript() public méthode

public RunScript ( AnimationType animationType ) : void
animationType AnimationType
Résultat void

RunScript() public méthode

public RunScript ( ushort script_start ) : void
script_start ushort
Résultat void

SetPosition() public méthode

public SetPosition ( int x, int y ) : void
x int
y int
Résultat void

Sprite() public méthode

public Sprite ( Mpq mpq, int sprite_entry, byte palette, int x, int y ) : System
mpq Mpq
sprite_entry int
palette byte
x int
y int
Résultat System

Sprite() public méthode

public Sprite ( Sprite parentSprite, ushort images_entry, byte palette ) : System
parentSprite Sprite
images_entry ushort
palette byte
Résultat System

Tick() public méthode

public Tick ( int millis_elapsed ) : bool
millis_elapsed int
Résultat bool