Beispiel #1
0
 public Player(GraphicsDevice GraphicsDevice)
 {
     this.GraphicsDevice = GraphicsDevice;
     conMan = new ConnectionManager();
     VecUnits = new List<BaseUnit>();
     sprite = new SpriteBatch(GraphicsDevice);
     map = new Map();
     Inter = new Interface(GraphicsDevice, 0, map);
     sw = new Stopwatch();
 }
Beispiel #2
0
 public static void InitializeMap(Map _map, ConnectionManager _conMan)
 {
     map = _map;
     conMan = _conMan;
 }