public void Initialize() { map = (MapGenerator.GenerateRandomMap(15, 15)); map.AddUnit(new Unit()); map.Unit(0).SetLocation(map.Square(5, 5)); cursor = new Vector2(0, 0); currentSquare = map.Square((int)cursor.Y, (int)cursor.X); input = new InputManager(); unitSelected = false; screenDimensions = new Vector2(1000, 500); }
public void SetMap(Map map) { this.map = map; }