Index: common/Player.cpp
===================================================================
--- common/Player.cpp	(revision 7fa452f8af7ba8638ce8e776a26d0fa48eccedd2)
+++ common/Player.cpp	(revision 48801afdbe8c90d082871e29fc4e59ba3e65686d)
@@ -30,5 +30,5 @@
    this->range = 0;
    this->attackCooldown = 0;
-   this->team = 0;   // no team by default
+   this->team = TEAM_NONE;
    this->hasBlueFlag = false;
    this->hasRedFlag = false;
@@ -104,5 +104,5 @@
    this->range = 0;
    this->attackCooldown = 0;
-   this->team = 0;   // no team by default
+   this->team = TEAM_NONE;
    this->hasBlueFlag = false;
    this->hasRedFlag = false;
Index: common/Player.h
===================================================================
--- common/Player.h	(revision 7fa452f8af7ba8638ce8e776a26d0fa48eccedd2)
+++ common/Player.h	(revision 48801afdbe8c90d082871e29fc4e59ba3e65686d)
@@ -39,4 +39,10 @@
       ATTACK_MELEE,
       ATTACK_RANGED
+   };
+
+   enum PlayerTeam {
+      TEAM_NONE,
+      TEAM_BLUE,
+      TEAM_RED
    };
 
@@ -84,5 +90,5 @@
    int range;
    unsigned long long attackCooldown;
-   int team; // 0 is none, 1 is blue, 2 is red
+   PlayerTeam team;
    bool hasBlueFlag;
    bool hasRedFlag;
