nudsfml v0.0.10-alpha (2023-02-09T04:48:03Z)
Dub
Repo
AppleEntity
gameentity
Undocumented in source.
class
AppleEntity :
Entity
{
Vector2f
offset
;
float
floatTime
;
float
floatTimeMultiplyer
;
Texture
texture
;
RectangleShape
shape
;
RectangleShape
shadow
;
this
(Texture t);
void
update
(float deltaTime);
void
draw
(RenderTarget target);
}
Constructors
this
this
(Texture t)
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 deltaTime)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
floatTime
float
floatTime
;
Undocumented in source.
floatTimeMultiplyer
float
floatTimeMultiplyer
;
Undocumented in source.
offset
Vector2f
offset
;
Undocumented in source.
shadow
RectangleShape
shadow
;
Undocumented in source.
shape
RectangleShape
shape
;
Undocumented in source.
texture
Texture
texture
;
Undocumented in source.
Inherited Members
From Entity
position
Vector2f
position
;
Undocumented in source.
mapLocation
Vector2i
mapLocation
;
Undocumented in source.
id
int
id
;
Undocumented in source.
destroy
bool
destroy
;
Undocumented in source.
update
void
update
(float dt)
Undocumented in source. Be warned that the author may not have intended to support it.
draw
void
draw
(RenderTarget target)
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
gameentity
classes
AppleEntity
Entity
SnakeEntity