Exemplo n.º 1
0
        public BattleField()
        {
            map = new Map(this);
            fogofwar = new FogOfWar();

            //Init Cities
            LoadCities();

            ballPathFinderMgr = new BallPathFinderManager(cities);
            ballPathFinder = ballPathFinderMgr.CreatePathFinder();

            //Init Natural Resource
            InitializeNaturalResource();


            fogofwar = new FogOfWar();

        }
Exemplo n.º 2
0
        public Harvester(GatherCity parent, Map map)
        {
            this.parent = parent;

            
            finder = map.PathFinder.CreatePathFinder();
            this.map = map;


            BoundingSphere.Radius = 80;
            
        }