Class EntityPlayer

Inheritance Relationships

Base Types

  • public simulator::entity::Entity (Class Entity)

  • public std::enable_shared_from_this< EntityPlayer >

Class Documentation

class simulator::entity::EntityPlayer : public simulator::entity::Entity, public std::enable_shared_from_this<EntityPlayer>

Public Functions

EntityPlayer(uint32_t vid, int32_t x, int32_t y, float angle, uint16_t objClass, uint8_t state, uint8_t movementSpeed, uint8_t attackSpeed)
~EntityPlayer() override = default
uint8_t GetType() const override
std::shared_ptr<Entity> GetPointer() override
void GetName(std::string &name)
void SetName(const std::string &name)