Class Sfml.sprite


class sprite : unit -> object .. end
Sprites : class for drawing images
Inherits
val point : pointer
method setImage : image -> unit
Set/Get the image
method getImage : image
method setSubRect : intRect -> unit
Move/Resize
method getSubRect : intRect
method resize : float -> float -> unit
method getWidth : float
method getHeight : float
method flipX : bool -> unit
Apply a symetry
method flipY : bool -> unit
method getPixel : int -> int -> color
Get a single pixel