Inheritance: MonoGdx.InputAdapter
Exemple #1
0
        public GdxTestContext(GdxTest test)
        {
            _test = test;

            _graphics = new GraphicsDeviceManager(this);
            _graphics.SynchronizeWithVerticalRetrace = false;
            Content.RootDirectory = "Content";

            IsMouseVisible = true;

            this.IsFixedTimeStep   = false;
            this.TargetElapsedTime = new TimeSpan(0, 0, 0, 0, 1000 / 60);

            _test.Create(this);
        }
Exemple #2
0
        public GdxTestContext(GdxTest test)
        {
            _test = test;

            _graphics = new GraphicsDeviceManager(this);
            _graphics.SynchronizeWithVerticalRetrace = false;
            Content.RootDirectory = "Content";

            IsMouseVisible = true;

            this.IsFixedTimeStep = false;
            this.TargetElapsedTime = new TimeSpan(0, 0, 0, 0, 1000 / 60);

            _test.Create(this);
        }