Basic connection between server and unit

This commit is contained in:
Kayne Ruse
2013-05-10 19:57:53 +10:00
parent a667fae21a
commit 4671afe900
18 changed files with 891 additions and 42 deletions
+25
View File
@@ -0,0 +1,25 @@
#ifndef PLAYER_HPP_
#define PLAYER_HPP_
#include "vector2.hpp"
#include <string>
//TODO
class Player {
public:
Player();
~Player();
void Update(int);
Vector2 GetPosition();
private:
int clientID;
Vector2 position;
Vector2 motion;
std::string avatarName;
};
#endif