public virtual void objectPlaced(Entity objectRepresentation)
    {
        TextAnimation textAnimator = codeBox.GetComponentInChildren <TextAnimation>();

        if (objectCodePosition != -1)
        {
            if (objectRepresentation.Equals(objectType))
            {
                textAnimator.StartCoroutine(textAnimator.glowText(objectCodePosition));
            }
            else if (object2Type != null && objectRepresentation.Equals(object2Type))
            {
                textAnimator.StartCoroutine(textAnimator.glowText(object2CodePosition));
            }
            else
            {
                textAnimator.StartCoroutine(textAnimator.shakeText(objectCodePosition));
                if (object2Type != null)
                {
                    textAnimator.StartCoroutine(textAnimator.shakeText(object2CodePosition));
                }
            }
        }

        loadYesNoButtons();
        setButtonStatus(activateButtonsCondition(objectRepresentation));
    }
    public virtual void screenPlaced(Entity screenRepresentation)
    {
        TextAnimation textAnimator = codeBox.GetComponentInChildren <TextAnimation>();

        if (variableCodePosition != -1)
        {
            if (!screenRepresentation.Equals(variableType))
            {
                textAnimator.StartCoroutine(textAnimator.shakeText(variableCodePosition));
            }
            else
            {
                textAnimator.StartCoroutine(textAnimator.glowText(variableCodePosition));
            }
        }
    }