public void AddInventoryText(IInventoryText inventoryText)
    {
        PlayerInventory.Add(inventoryText);
        GameObject popup = Instantiate(announcementBox, gameObject.GetComponentInParent <Transform>());

        popup.GetComponentInChildren <Text>().text = "You got " + inventoryText.DisplayText;
    }
    public void UpdateDescriptionAreaText(string descriptionText, IInventoryText objectRepresented, int type)
    {
        switch (type)
        {
        case 0:
            activeText = objectRepresented as PuzzleText;
            descriptionAreaText.text = descriptionText;
            break;

        case 1:
            abilityDescriptionAreaText.text = descriptionText;
            break;
        }
    }