コード例 #1
0
 private List<GameLayoutScenarioCard> GetCardsFromScenarioFn(GameSpaceModel arg)
 {
     var scenario = scope.Model.Selection.SelectedScenario;
     return scenario.Spaces.Filter((s) => s.SpaceGuid == arg.Guid)[0].Cards;
 }
コード例 #2
0
 private void RemoveSpaceFn(GameSpaceModel arg)
 {
     myScope.Model.Game.GameLayout.Spaces.Remove(arg);
     myScope.Model.Selection.SelectedSpace = null;
     myScope.Model.Selection.SelectedLayoutPiece = SelectedGameLayoutPiece.None;
     SureUpScenarios(myScope.Model.Game);
 }