Example #1
0
        public void MainGameDraw(GameTime gameTime)
        {
            GraphicsDevice.Clear(Color.CornflowerBlue);

            spriteBatch.Begin(SpriteSortMode.Immediate, BlendState.NonPremultiplied, SamplerState.AnisotropicClamp, DepthStencilState.Default, RasterizerState.CullCounterClockwise);
            cam.drawFloor();
            cam.drawProps();
            cam.drawActors();
            cam.drawGUI();
            spriteBatch.End();

            base.Draw(gameTime);
        }