public void CreateOnBoardDragon(int[] targetPosition, int type, int race, int owner) { CardDragon card = new CardDragon(type, race, owner); OnBoardDragon onBoardDragon = new OnBoardDragon(new Vector2Int(targetPosition[1], targetPosition[0]), Board, card); onBoardDragon.UpdateOnBoard(); if (!IsMe(owner)) { physicalCardGenerator.UpdateLastCard(race, type); LastPlayedCardExists = true; } }