nudsfml v0.0.10-alpha (2023-02-09T04:48:03Z)
Dub
Repo
Entity
gameentity
Undocumented in source.
class
Entity {
Vector2f
position
;
Vector2i
mapLocation
;
int
id
;
bool
destroy
;
this
();
void
update
(float dt);
void
draw
(RenderTarget target);
}
Constructors
this
this
()
Undocumented in source.
Members
Functions
draw
void
draw
(RenderTarget target)
Undocumented in source. Be warned that the author may not have intended to support it.
update
void
update
(float dt)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
destroy
bool
destroy
;
Undocumented in source.
id
int
id
;
Undocumented in source.
mapLocation
Vector2i
mapLocation
;
Undocumented in source.
position
Vector2f
position
;
Undocumented in source.
Meta
Source
See Implementation
gameentity
classes
AppleEntity
Entity
SnakeEntity