Exemplo n.º 1
0
        /// <inheritdoc />
        /// <summary>
        /// </summary>
        /// <param name="gameTime"></param>
        public override void Draw(GameTime gameTime)
        {
            GameBase.Game.GraphicsDevice.Clear(Color.CornflowerBlue);

            HotLoader?.Draw(gameTime);
            Container?.Draw(gameTime);
        }
Exemplo n.º 2
0
        /// <inheritdoc />
        /// <summary>
        /// </summary>
        /// <param name="gameTime"></param>
        public override void Update(GameTime gameTime)
        {
            if (KeyboardManager.IsUniqueKeyPress(Keys.OemTilde))
            {
                BrowserActive = !BrowserActive;
                Browser?.ClearAnimations();
                Browser?.MoveToX(BrowserActive ? 0 : -Browser.Width - 10, Easing.OutQuint, 400);
            }

            HandleCompilingNotificationAnimations(gameTime);

            if (!HotLoader.IsCompiling && !HotLoader.CompilationFailed)
            {
                HotLoader?.Update(gameTime);
            }

            Container?.Update(gameTime);
        }
Exemplo n.º 3
0
 public WobbleTestsGameHotload(HotLoader hl) : base(hl)
 {
     WindowManager.ChangeScreenResolution(new Point(1366, 768));
 }
Exemplo n.º 4
0
 public QuaverGame(HotLoader hl) : base(hl)