示例#1
0
        private void EditModifier(CharacterSheet.ModifiersList <CharacterSheet.IntModifier, int, CharacterSheet.IntSum> modifiers, CharacterSheet.IntModifier modifier)
        {
            if (pushedPage != null)
            {
                return;
            }
            var page = new EditIntModifier();

            page.Init(sheet, modifiers, modifier, allowUseAbilities);
            pushedPage = page;
            Navigation.PushAsync(page);
        }
        private void EditModifier(CharacterSheet.ModifiersList <CharacterSheet.IntModifier, int, CharacterSheet.IntSum> modifiers, CharacterSheet.IntModifier modifier)
        {
            if (pushedPage != null)
            {
                return;
            }
            var sheet = CharacterSheetStorage.Instance.selectedCharacter;

            if (sheet == null)
            {
                return;
            }
            var page = new EditIntModifier();

            page.Init(sheet, modifiers, modifier);
            pushedPage = page;
            Navigation.PushAsync(page);
        }