Exemplo n.º 1
0
 private HymirEncounter myBrother; // store reference to Hymir
 public GymirEncounter(GameSession ses, HymirEncounter myBrother) : base(ses)
 {
     parentSession  = ses;
     Name           = "interaction0003";
     this.myBrother = myBrother; // set reference to Hymir
     currentState   = new GymirInitialState();
 }
Exemplo n.º 2
0
 public void ChangeState(GymirState newState, bool isCompleted = false)
 {
     currentState = newState;
     if (isCompleted)
     {
         Complete = true;              // while changing state, we may also want to set this property
     }
 }