8#ifndef R_TYPE_PLAYER_HPP
9#define R_TYPE_PLAYER_HPP
13namespace rtype::server::game {
16 explicit Player(
int tcpId,
int udpId,
const std::string &name);
25 int getHeight()
const;
26 const std::string &getName()
const;
27 bool isSceneLoaded()
const;
30 Player &setTcpId(
int tcpId);
31 Player &setUdpId(
int udpId);
32 Player &setScore(
int score);
36 Player &setWidth(
int width);
37 Player &setHeight(
int height);
38 Player &setName(
const std::string &name);
39 Player &setSceneLoaded(
bool sceneLoaded);
40 Player &setReady(
bool ready);
Definition: Player.hpp:14