예제 #1
0
 public void OpenCharacterBuilder(INECharacter editCharacter, bool initialCharacter = false)
 {
     if (editCharacter != null)
     {
         SwitchMenu(characterBuilder: true);
         CharacterBuilder.SetCharacter(editCharacter, initialCharacter);
     }
 }
예제 #2
0
        public void SetCharacter(INECharacter targetCharacter, bool initialCharacter = false)
        {
            ReferenceCharacter = targetCharacter;
            CurrentCharacter   = targetCharacter.Clone;
            InitialCharacter   = initialCharacter;

            PopulateCharacter();
        }
예제 #3
0
 public void ConfirmDone(ConfirmationOption clicked)
 {
     if (clicked == ConfirmationOption.Yes)
     {
         ReferenceCharacter = CurrentCharacter;
         INE.UI.OpenTeam();
     }
     else
     {
         Activate(true);
     }
 }
예제 #4
0
 private void CreateInitialCharacter()
 {
     InitialCharacter = new INECharacter();
     INE.UI.OpenCharacterBuilder(InitialCharacter, true);
     //INE.UI.OpenCharacterBuilder( Characters[1], false );
 }