public void OnDrop(PointerEventData eventData)
    {
        Debug.Log("received card");
        GameObject playedCard = eventData.pointerDrag;

        if (cardIsPlayable(playedCard))
        {
            playedCard.SetActive(false);
            battleHandler.GetComponent <BattleHandler>().playCard(playedCard);
        }
    }