moved Game.PathFinder into World
This commit is contained in:
@@ -16,6 +16,8 @@ namespace OpenRa
|
||||
public readonly BuildingInfluenceMap BuildingInfluence;
|
||||
public readonly UnitInfluenceMap UnitInfluence;
|
||||
|
||||
public readonly PathFinder PathFinder;
|
||||
|
||||
public readonly Map Map;
|
||||
public readonly TileSet TileSet;
|
||||
|
||||
@@ -37,6 +39,8 @@ namespace OpenRa
|
||||
oreTicks = oreFrequency;
|
||||
Map.InitOreDensity();
|
||||
|
||||
PathFinder = new PathFinder(this);
|
||||
|
||||
CreateActor("World", new int2(int.MaxValue, int.MaxValue), null);
|
||||
|
||||
WorldRenderer = new WorldRenderer(this, Game.renderer);
|
||||
|
||||
Reference in New Issue
Block a user