Beispiel #1
0
        //Deal the specific Animal that the player has!
        public void DealDisplayingAnimalCard(Player player, byte animalId)
        {
            //Debug.Log(AnimalCards);
            // Card card = DisplayingCards[i];
            AnimalCard animalCard = new AnimalCard();

            //animalCard.SetAnimalCardValue(animalId);
            //animalCard.SetAnimalFaceUp(true);
            player.ReceiveDisplayingAnimal(animalCard);

            //make sure to have all the Animal Cards
            animalCard.transform.position = player.AnimalPosition; //no need for animation rn
        }
Beispiel #2
0
 public void ReceiveDisplayingAnimal(AnimalCard card)
 {
     AnimalCard   = card; //only have ONE specific animal card per player
     card.OwnerId = PlayerId;
 }