コード例 #1
0
ファイル: BattleSystem.cs プロジェクト: jlindy12/WEST
    // Start is called before the first frame update

    public void StartBattle(AnimalParty playerParty, Animal wildAnimal)
    {
        this.playerParty = playerParty;
        this.wildAnimal  = wildAnimal;
        player           = playerParty.GetComponent <PlayerController>();
        isOutlawBattle   = false;

        StartCoroutine(SetupBattle());
    }
コード例 #2
0
ファイル: BattleSystem.cs プロジェクト: jlindy12/WEST
    public void StartOutlawBattle(AnimalParty playerParty, AnimalParty outlawParty)
    {
        this.playerParty = playerParty;
        this.outlawParty = outlawParty;

        isOutlawBattle = true;
        player         = playerParty.GetComponent <PlayerController>();
        outlaw         = outlawParty.GetComponent <OutlawController>();
        StartCoroutine(SetupBattle());
    }