bettola/srv/game/player.cpp

9 lines
214 B
C++

#include "player.h"
#include "network/socket.h"
unsigned int Player::_next_player_id = 0;
Player::Player(BettolaLib::Network::Socket* socket) :
_id(_next_player_id++), _x(0.0f), _y(0.0f), _socket(socket) {}