public static ClickedBehaviour GetClickedBehaviour(ClickedBehaviourType type)
        {
            ClickedBehaviour item = null;

            switch (type)
            {
            case ClickedBehaviourType.Block:
                item = new BlockClickedBehaviour();
                break;

            case ClickedBehaviourType.Bomb:
                item = new BombClickedBehaviour();
                break;

            case ClickedBehaviourType.Firework:
                item = new FireworkClickedBehaviour();
                break;

            case ClickedBehaviourType.Ice:
                item = new IceClickedBehaviour();
                break;
            }

            item.BehaviourType = type;

            return(item);
        }
        public static ClickedBehaviour GetClickedBehaviour(ClickedBehaviourType type)
        {
            ClickedBehaviour item = null;

            switch (type)
            {
                case ClickedBehaviourType.Block:
                    item = new BlockClickedBehaviour();
                    break;
                case ClickedBehaviourType.Bomb:
                    item = new BombClickedBehaviour();
                    break;
                case ClickedBehaviourType.Firework:
                    item = new FireworkClickedBehaviour();
                    break;
                case ClickedBehaviourType.Ice:
                    item = new IceClickedBehaviour();
                    break;
            }

            item.BehaviourType = type;

            return item;
        }
        public void SetClickedBehaviour(ClickedBehaviourType type)
        {
            ClickedBehaviour = ClickedBehaviourFactory.GetClickedBehaviour(type);

            ClickedBehaviour.Setup(this, m_bombRenderer, m_fireworksRenderer, m_iceRenderer);
        }
        public void SetClickedBehaviour(ClickedBehaviourType type)
        {
            ClickedBehaviour = ClickedBehaviourFactory.GetClickedBehaviour (type);

            ClickedBehaviour.Setup (this, m_bombRenderer, m_fireworksRenderer, m_iceRenderer);
        }