コード例 #1
0
        protected virtual void PlayerSystemGameOverHandler(uFrameECSDemo.GameOver data, WavesGame group)
        {
            var handler = new PlayerSystemGameOverHandler();

            handler.System = this;
            handler.Event  = data;
            handler.Group  = group;
            handler.Execute();
        }
コード例 #2
0
        protected override void WavesGameSystemGameOverHandler(uFrameECSDemo.GameOver data, WavesGame group)
        {
            var handler = new WavesGameSystemGameOverHandler();

            handler.System = this;
            handler.Event  = data;
            handler.Group  = group;
            handler.Execute();
        }
コード例 #3
0
        protected void PlayerSystemGameOverFilter(uFrameECSDemo.GameOver data)
        {
            var WavesGameItems = WavesGameManager.Components;

            for (var WavesGameIndex = 0
                 ; WavesGameIndex < WavesGameItems.Count; WavesGameIndex++
                 )
            {
                if (!WavesGameItems[WavesGameIndex].Enabled)
                {
                    continue;
                }
                this.PlayerSystemGameOverHandler(data, WavesGameItems[WavesGameIndex]);
            }
        }