コード例 #1
0
ファイル: MainGame.cs プロジェクト: Straskal/MonoReaper
        protected override void Update(GameTime gameTime)
        {
            TotalTime = (float)gameTime.TotalGameTime.TotalSeconds;
            Singletons.HandleInput(gameTime);

            if (!_paused)
            {
                HandleLayoutChange();

                Singletons.Tick(gameTime);
                CurrentLayout.Tick(gameTime);
                CurrentLayout.PostTick(gameTime);
            }

            base.Update(gameTime);
        }