very buggy system working, but only works properly with one client at a time due to recv blocking
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#include "player.hpp"
|
||||
|
||||
Player::Player(int id) : clientID(id) {
|
||||
//
|
||||
}
|
||||
|
||||
void Player::Update(int delta) {
|
||||
position += motion * delta;
|
||||
}
|
||||
Reference in New Issue
Block a user