dmech v0.4.1 (2020-07-30T18:32:41Z)
Home
Dub
Repo
Sprite
dgl
graphics
sprite
Undocumented in source.
class
Sprite :
Drawable
{
Texture
texture
;
uint
width
;
uint
height
;
Vector2f
position
;
this
(Texture tex, uint w, uint h);
void
draw
(double dt);
~this
();
void
free
();
}
Constructors
this
this
(Texture tex, uint w, uint h)
Undocumented in source.
Destructor
~this
~this
()
Undocumented in source.
Members
Functions
draw
void
draw
(double dt)
Undocumented in source. Be warned that the author may not have intended to support it.
free
void
free
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
height
uint
height
;
Undocumented in source.
position
Vector2f
position
;
Undocumented in source.
texture
Texture
texture
;
Undocumented in source.
width
uint
width
;
Undocumented in source.
Inherited Members
From Drawable
draw
void
draw
(double dt)
Undocumented in source.
Meta
Source
See Implementation
dgl
graphics
sprite
classes
AnimatedSprite
ScreenSprite
Sprite