Exemplo n.º 1
0
        protected virtual void GroupSystemActiveGroupMoveRightEventHandler(TetrisDB.ActiveGroupMoveRightEvent data, GroupComponent group)
        {
            var handler = new GroupSystemActiveGroupMoveRightEventHandler();

            handler.System = this;
            handler.Event  = data;
            handler.Group  = group;
            StartCoroutine(handler.Execute());
        }
Exemplo n.º 2
0
        protected void GroupSystemActiveGroupMoveRightEventFilter(TetrisDB.ActiveGroupMoveRightEvent data)
        {
            var GroupComponentItems = GroupComponentManager.Components;

            for (var GroupComponentIndex = 0
                 ; GroupComponentIndex < GroupComponentItems.Count; GroupComponentIndex++
                 )
            {
                if (!GroupComponentItems[GroupComponentIndex].Enabled)
                {
                    continue;
                }
                this.GroupSystemActiveGroupMoveRightEventHandler(data, GroupComponentItems[GroupComponentIndex]);
            }
        }