Class EntityManager

Class Documentation

class simulator::entity::EntityManager

Public Functions

EntityManager()
~EntityManager()
void Clear()
void CreateEntity(uint32_t vid, uint8_t entityType, int32_t x, int32_t y, float angle, uint16_t objClass, uint8_t state, uint8_t movementSpeed, uint8_t attackSpeed)
void RemoveEntity(uint32_t vid)
void MoveEntity(std::shared_ptr<Entity> ent)
void Update(uint32_t elapsedTime)
void SetMainCharacter(uint32_t vid)
std::shared_ptr<EntityPlayer> GetMainCharacter()
std::shared_ptr<Entity> GetEntity(uint32_t vid, bool shouldExists = true)
std::shared_ptr<EntityPlayer> GetPlayer(uint32_t vid, bool shouldBePlayer = true)