示例#1
0
        public GameManager(IGameOutputAdapter outputAdapter)
        {
            this._outputAdapter = outputAdapter;
            var ownAntTrackingManager = new OwnAntTrackingManager(outputAdapter);

            this._turnResultManagers = new ITurnResultManager[]
                                           {
                                               new OwnAntPreProcessManager(ownAntTrackingManager),
                                               new MapExplorationManager(),
                                               new HeatMapTurnManager(),
                                               new FoodResourceManager(),
                                               new OwnAntPostProcessManager(ownAntTrackingManager),
                                           };
        }
 public OwnAntTrackingManager(IGameOutputAdapter outputAdapter)
 {
     this._outputAdapter = outputAdapter;
 }