private List<GameLayoutScenarioCard> GetCardsFromScenarioFn(GameSpaceModel arg) { var scenario = scope.Model.Selection.SelectedScenario; return scenario.Spaces.Filter((s) => s.SpaceGuid == arg.Guid)[0].Cards; }
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); }