lots of initial design for the game, and unit data

This commit is contained in:
Marc Di Luzio 2014-12-16 13:12:58 +00:00
parent 6a17e4e4c1
commit a17a9db2ad
5 changed files with 56 additions and 4 deletions

View file

@ -4,6 +4,7 @@
#include <string>
#include <memory>
#include "gametypes.h"
#include "vector2.h"
// Type for the unit type-id
@ -28,6 +29,15 @@ protected:
private:
// Unit ID
unit_id_t id;
// Team ID
team_id_t team_id;
// Owner ID
player_id_t owner_id;
// All units must have position
uvector2 pos;
};