Vyroda
Game engine made by hand, with modern C++ and Vulkan.
Loading...
Searching...
No Matches
Vyroda::PlayerManager Class Referenceexport

Public Member Functions

 PlayerManager (ComponentManager *const component_manager, std::string const &player_name)
std::string const & getPlayerName ()
void setPlayerId (IDType id)
void jump ()
bool isInit ()
bool hasMoved () const
void reset ()
void move (float const lx, float const ly, double const delta_time)
glm::vec3 getPosition () const

Constructor & Destructor Documentation

◆ PlayerManager()

Vyroda::PlayerManager::PlayerManager ( ComponentManager *const component_manager,
std::string const & player_name )
inline

Member Function Documentation

◆ getPlayerName()

std::string const & Vyroda::PlayerManager::getPlayerName ( )
inline

◆ getPosition()

glm::vec3 Vyroda::PlayerManager::getPosition ( ) const
inline

◆ hasMoved()

bool Vyroda::PlayerManager::hasMoved ( ) const
inline

◆ isInit()

bool Vyroda::PlayerManager::isInit ( )
inline

◆ jump()

void Vyroda::PlayerManager::jump ( )
Here is the caller graph for this function:

◆ move()

void Vyroda::PlayerManager::move ( float const lx,
float const ly,
double const delta_time )
Here is the caller graph for this function:

◆ reset()

void Vyroda::PlayerManager::reset ( )
inline

◆ setPlayerId()

void Vyroda::PlayerManager::setPlayerId ( IDType id)
inline

The documentation for this class was generated from the following files: