very buggy system working, but only works properly with one client at a time due to recv blocking

This commit is contained in:
Kayne Ruse
2013-05-17 19:32:45 +10:00
parent 738320e88e
commit 24e48dec53
12 changed files with 153 additions and 42 deletions
+9
View File
@@ -0,0 +1,9 @@
#include "player.hpp"
Player::Player(int id) : clientID(id) {
//
}
void Player::Update(int delta) {
position += motion * delta;
}