void DrawGame() { scenes.SelectScene("game"); scenes.CurrentScene.TranslateTo(new Vector2((float)Math.Round(player.pos.ToPoint().ToVector2().X, 1) - 32 + easeIn.timer * 64, 0), false); scenes.SetupScene(spriteBatch, GraphicsDevice); //DRAW HERE ts.Draw(spriteBatch); EntityCollection.DrawGroup("enemies", spriteBatch); ParticleSystem.DrawGroup("stars", spriteBatch); player.Draw(spriteBatch); spriteBatch.End(); }
void DrawInventory() { scenes.SelectScene("inven"); scenes.SetupScene(spriteBatch, GraphicsDevice); GraphicsDevice.Clear(Color.TransparentBlack); //draw slots inven.UpdateSlots(); EntityCollection.DrawGroup("slots", spriteBatch); EntityCollection.DrawGroup("items", spriteBatch); ParticleSystem.DrawGroup("appear", spriteBatch); spriteBatch.End(); }