コード例 #1
0
    public void TestObjective()
    {
        QuestNew q = FindQuest("ETC Objective");

        if (q != null)
        {
            q.CheckGoals();
        }
        else
        {
            Debug.Log("Don't have this quest!");
        }
    }
コード例 #2
0
    //For testing
    public void TestKill()
    {
        QuestNew q = FindQuest("Kill Bandits");

        if (q != null)
        {
            q.CheckGoals();
        }
        else
        {
            Debug.Log("Don't have this quest!");
        }
    }
コード例 #3
0
    public void TestFetch()
    {
        QuestNew q = FindQuest("Find Ring");

        if (q != null)
        {
            q.CheckGoals();
        }
        else
        {
            Debug.Log("Don't have this quest!");
        }
    }
コード例 #4
0
ファイル: Goal.cs プロジェクト: cdunham927/FantasyCSE441
 public void Complete()
 {
     Completed = true;
     Quest.CheckGoals();
 }