public void SetupDummyTile(HackCard card)
    {
        Image[] images = GetComponentsInChildren <Image>();
        id = card.GetCardId();
        foreach (Image image in images)
        {
            switch (image.name)
            {
            case "LeftCircuit":
                circuitLeft = card.GetImageByGameObjectName("Left");
                if (circuitLeft != null)
                {
                    image.sprite = circuitLeft;
                }
                else
                {
                    image.sprite = emptyImageSprite;
                }
                break;

            case "TopCircuit":
                circuitTop = card.GetImageByGameObjectName("Up");
                if (circuitTop != null)
                {
                    image.sprite = circuitTop;
                }
                else
                {
                    image.sprite = emptyImageSprite;
                }
                break;

            case "RightCircuit":
                circuitRight = card.GetImageByGameObjectName("Right");
                if (circuitRight != null)
                {
                    image.sprite = circuitRight;
                }
                else
                {
                    image.sprite = emptyImageSprite;
                }
                break;

            case "DownCircuit":
                circuitDown = card.GetImageByGameObjectName("Down");
                if (circuitDown != null)
                {
                    image.sprite = circuitDown;
                }
                else
                {
                    image.sprite = emptyImageSprite;
                }
                break;

            case "TopLeftSpike":
                spikeTopLeft = card.GetImageByGameObjectName("TopLeft");
                if (spikeTopLeft != null)
                {
                    image.sprite = spikeTopLeft;
                }
                else
                {
                    image.sprite = emptyImageSprite;
                }
                break;

            case "TopRightSpike":
                spikeTopRight = card.GetImageByGameObjectName("TopRight");
                if (spikeTopRight != null)
                {
                    image.sprite = spikeTopRight;
                }
                else
                {
                    image.sprite = emptyImageSprite;
                }
                break;

            case "BottomLeftSpike":
                spikeBottomLeft = card.GetImageByGameObjectName("BottomLeft");
                if (spikeBottomLeft != null)
                {
                    image.sprite = spikeBottomLeft;
                }
                else
                {
                    image.sprite = emptyImageSprite;
                }
                break;

            case "BottomRightSpike":
                spikeBottomRight = card.GetImageByGameObjectName("BottomRight");
                if (spikeBottomRight != null)
                {
                    image.sprite = spikeBottomRight;
                }
                else
                {
                    image.sprite = emptyImageSprite;
                }
                break;

            case "FrontImage":
                cardImage = card.GetImageByGameObjectName("Image");
                if (cardImage != null)
                {
                    image.sprite = cardImage;
                }
                else
                {
                    image.sprite = emptyImageSprite;
                }
                break;

            case "Selected":
                selectedImage = image;
                break;
            }
        }
    }