示例#1
0
        protected virtual void GroupSystemActiveGroupMoveLeftEventHandler(TetrisDB.ActiveGroupMoveLeftEvent data, GroupComponent group)
        {
            var handler = new GroupSystemActiveGroupMoveLeftEventHandler();

            handler.System = this;
            handler.Event  = data;
            handler.Group  = group;
            StartCoroutine(handler.Execute());
        }
示例#2
0
        protected void GroupSystemActiveGroupMoveLeftEventFilter(TetrisDB.ActiveGroupMoveLeftEvent data)
        {
            var GroupComponentItems = GroupComponentManager.Components;

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