![]() |
Peoplemon
0.1.0
Peoplemon 3 game source documentation
|
Fired when an entity rotates without moving. More...
#include <EntityMoved.hpp>
Public Member Functions | |
EntityRotated (bl::ecs::Entity e, bl::tmap::Direction dir, bl::tmap::Direction og) | |
Construct a new Entity Rotated event. More... | |
Public Attributes | |
const bl::ecs::Entity | entity |
The entity that rotated. More... | |
const bl::tmap::Direction | faceDir |
The direction the entity is now facing. More... | |
const bl::tmap::Direction | origDir |
The direction the entity was facing. More... | |
Fired when an entity rotates without moving.
Definition at line 76 of file EntityMoved.hpp.
|
inline |
Construct a new Entity Rotated event.
e | The entity that rotated |
dir | The direction it is now facing |
og | The original direction it was facing |
Definition at line 93 of file EntityMoved.hpp.
const bl::ecs::Entity core::event::EntityRotated::entity |
The entity that rotated.
Definition at line 78 of file EntityMoved.hpp.
const bl::tmap::Direction core::event::EntityRotated::faceDir |
The direction the entity is now facing.
Definition at line 81 of file EntityMoved.hpp.
const bl::tmap::Direction core::event::EntityRotated::origDir |
The direction the entity was facing.
Definition at line 84 of file EntityMoved.hpp.