Пример #1
0
 public override void Init(IPetCombat myPet)
 {
     myPetCombat = myPet;
     myPetCombat.MoveToPosition(petInitialPosition);
     timer = 0f;
     waitingForPet = true;
 }
Пример #2
0
    public override void Init(IPetCombat myPet)
    {
        //List of stuff needs to be run before starting the interaction proper.
        myPetCombat = myPet;
        myPetCombat.MoveToPosition(petPosition);
        waitingForPet = true;
        //Pet needs to move to the correct spot for interaction
        //Any animations need to finish playing

        //Waits until everything is finished, and then transitions to main loop
    }
 public override void StartTurn(IPetCombat opponent)
 {
     isMyTurn = true;
     iTween.PunchPosition(this.gameObject, iTween.Hash("amount", new Vector3(0f,2f,0f), "time", 1f, "onComplete", "EndTurn"));
     myOpponent = opponent;
 }
Пример #4
0
 public abstract void StartTurn(IPetCombat opponent);
Пример #5
0
 public override void Init(IPetCombat myPet)
 {
     myPetCombat = myPet;
     //Begin approaching the pet, and tell the pet to begin approaching self
     //When they meet up, begin combat
 }
Пример #6
0
 public override void Init(IPetCombat myPet)
 {
     myPetCombat = myPet;
 }
Пример #7
0
 public abstract void Init(IPetCombat myPet);