Scene: go back to drawing Player behind tiles.

GitOrigin-RevId: afaff144f2af1f0ebcaf5b640cb621413110f380
This commit is contained in:
Colin McMillen 2020-02-17 21:20:52 -05:00
parent 7e7b0f7715
commit 7935b6aaff

View File

@ -73,12 +73,12 @@ namespace SemiColinGames {
spriteBatch.Begin( spriteBatch.Begin(
SpriteSortMode.Deferred, null, SamplerState.LinearWrap, null, null, null, transform); SpriteSortMode.Deferred, null, SamplerState.LinearWrap, null, null, null, transform);
// Draw foreground tiles.
world.Draw(spriteBatch);
// Draw player. // Draw player.
player.Draw(spriteBatch); player.Draw(spriteBatch);
// Draw foreground tiles.
world.Draw(spriteBatch);
// Aaaaand we're done. // Aaaaand we're done.
spriteBatch.End(); spriteBatch.End();