Esempio n. 1
0
    void Fight(Character c)
    {
        inFight_ = true;


        CombatSystemSetup.InitialiseFight(c, GetComponent <Character>());
    }
Esempio n. 2
0
 private void Instance_OnSpeechSpoke(Speech speech)
 {
     if (speech == this && !combatStarted_)
     {
         CombatSystemSetup.InitialiseFight(player, speaker);
     }
 }
 // Use this for initialization
 void Start()
 {
     if (t1 == null || t2 == null)
     {
         Debug.LogError("Character List variables have not been set for the CombatTestingScript");
     }
     else
     {
         if (CombatSystemSetup.InitialiseMultiFight(t1, t2))
         {
             Debug.Log("Combat System Setup initialise completed.");
         }
         else
         {
             Debug.LogError("Combat System Setup initialise Failed.");
         }
     }
 }