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