Example #1
0
        protected override void Draw(GameTime gameTime)
        {
            GraphicsDevice.Clear(Color.Black);

            var transformMatrix = MainCamera.GetViewMatrix();

            SpriteBatch.Begin(transformMatrix: transformMatrix);
            CurrentWorld.Draw();
            SpriteBatch.End();

            base.Draw(gameTime);
        }