public GameWorld(int width, int height) { map = new Map(width, height); units = new List<Unit>(); buildings = new List<Building>(); resources = new List<ResourceEntity>(); objects = new List<ObjectEntity>(); }
public VisibilityMapLogic(GameWorld gw, Player humanPlayer) { this.gw = gw; this.map = gw.map; this.humanPlayer = humanPlayer; }