Exemplo n.º 1
0
 public override void Init(IPetCombat myPet)
 {
     myPetCombat = myPet;
     myPetCombat.MoveToPosition(petInitialPosition);
     timer = 0f;
     waitingForPet = true;
 }
Exemplo n.º 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;
 }
Exemplo n.º 4
0
 public abstract void StartTurn(IPetCombat opponent);
Exemplo n.º 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
 }
Exemplo n.º 6
0
 public override void Init(IPetCombat myPet)
 {
     myPetCombat = myPet;
 }
Exemplo n.º 7
0
 public abstract void Init(IPetCombat myPet);