Beispiel #1
0
 public Crusade(SpaceshipAi parent, int sectorX, int sectorY)
 {
     mParent = parent;
     mSectorX = sectorX;
     mSectorY = sectorY;
     mWarriors = new List<IMovable>();
     mHasUnited = false;
 }
Beispiel #2
0
        private GameLogic()
        {
            mPlayerView = new List<IVisible>();
              mComputerView = new List<IVisible>();
              mObjectList = new List<GameObject>();
              mAi = new Ai(mObjectList);
              mSpaceshipAi = new SpaceshipAi();

              mGameStateManager = new GameStateManager();
              mGameObjectManager = GameObjectManager.GetInstance();
              mGameObjectManager.Init(mObjectList);
        }