Player

Undocumented in source.

Constructors

this
this(Entity entity)
Undocumented in source.

Members

Functions

kill
void kill(Level level)
Undocumented in source. Be warned that the author may not have intended to support it.
receive_damage
void receive_damage(Level level, int amount)
Undocumented in source. Be warned that the author may not have intended to support it.
render
void render(Renderer renderer)
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update(Level level, float elapsed, Input input, int mouseX, int mouseY)
bob
float bob;
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

entity
Entity entity;
Undocumented in source.
frame
int frame;
last_damage
float last_damage;
Undocumented in source.
last_shot
float last_shot;
Undocumented in source.

Meta