示例#1
0
            private void FrameUpdate(int frameIndex)
            {
                if (Keyboard.current.digit0Key.wasPressedThisFrame)
                {
                    ResetRound();
                }

                playerService.EachFGChar((id, fgChar) => {
                    fgChar.CalculateScreenOrientation();
                });

                uiService.SetTime(currRoundTime);

                if (currRoundTime < 0)
                {
                    EndRound();
                }
                currRoundTime -= gameTimeManager.Layer("gameTime");
            }