Create() public method

public Create ( GdxTestContext context ) : void
context GdxTestContext
return void
Esempio n. 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);
        }
Esempio n. 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);
        }