Beispiel #1
0
 protected override void Draw(GameTime a_gameTime)
 {
     GraphicsDevice.Clear(Color.CornflowerBlue);
     m_spriteBatch.Begin(SpriteSortMode.BackToFront, BlendState.AlphaBlend, null, null, null, null, m_camera.getTransformation(m_graphics.GraphicsDevice));
     m_currentState.draw();
     m_spriteBatch.End();
     base.Draw(a_gameTime);
 }