Example #1
0
 private void EncounterAreaEntered(Node body)
 {
     if (body.IsInGroup("Player") && Player.State == Player.ST.Move)
     {
         BattleUI.BattleStart(enemy, true, this);
     }
 }
Example #2
0
 private void SceneBattle()
 {
     Player.ShowInteract(false);
     BattleUI.BattleStart(BattleUI.Opponent.BossZincel, false, boss: true);
 }