Created
September 3, 2017 13:04
-
-
Save Odonno/4fda5a1703d187e416f026cc79dc3407 to your computer and use it in GitHub Desktop.
Draw method in C# MonoGame
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected override void Draw(GameTime gameTime) | |
{ | |
GraphicsDevice.Clear(Color.CornflowerBlue); | |
_spriteBatch.Begin(); | |
_player1.Draw(_spriteBatch); | |
_player2.Draw(_spriteBatch); | |
_spriteBatch.End(); | |
base.Draw(gameTime); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment