Example #1
0
 public void startBattle()
 {
     // playerMovement.setPlayerStepCountToZero();
     Debug.Log("start battle");
     Debug.Log(playerStepsLimit);
     Debug.Log(enemyEncounterSteps);
     mainRpgStatus = MainRpgStatus.BATTLE;
     battleControl.setUpBattle();
     battleScreen.SetActive(true);
 }
Example #2
0
    void Start()
    {
        mainRpgStatus = MainRpgStatus.WALK;
        battleScreen.SetActive(false);

        playerMovement   = player.GetComponent <PlayerMovement>();
        playerStepsLimit = playerMovement.playerStepsLimit;

        battleControl = battleController.GetComponent <BattleControl>();
    }