예제 #1
0
 public LifeBoardGameGameContainer(
     BasicData basicData,
     TestOptions test,
     IGameInfo gameInfo,
     IAsyncDelayer delay,
     IEventAggregator aggregator,
     CommandContainer command,
     IGamePackageResolver resolver,
     RandomGenerator random,
     LifeBoardGameVMData model
     ) : base(basicData,
              test,
              gameInfo,
              delay,
              aggregator,
              command,
              resolver,
              random)
 {
     _model = model;
     //go ahead and load up the spacelist right away here.
     LoadSpaceProcesses.PopulateSpaces(this);
     command.ExecutingChanged += Command_ExecutingChanged;
     Pos = new PositionPieces(); //hopefully this simple.
 }
 internal void LoadMod(LifeBoardGameVMData model)
 {
     _model            = model;
     _model.GameStatus = GameStatus;
 }