Exemplo n.º 1
0
        public ForgeGame(ForgeEngine engine)
        {
            _engine   = engine;
            _graphics = new GraphicsDeviceManager(this);

            Content.RootDirectory = "Content";
            IsMouseVisible        = true;

            TargetElapsedTime = TimeSpan.FromSeconds(1 / 60f);
            IsFixedTimeStep   = true;
        }
Exemplo n.º 2
0
        public ForgeGameHeadless(ForgeEngine engine)
        {
            _engine = engine;

            _engine.Initialise(null, null, null);
        }