diff --git a/RhythmBullet/RhythmBulletGame.cs b/RhythmBullet/RhythmBulletGame.cs index 3b52917..793045a 100644 --- a/RhythmBullet/RhythmBulletGame.cs +++ b/RhythmBullet/RhythmBulletGame.cs @@ -108,7 +108,7 @@ namespace RhythmBullet PostResize(); } - screenManager.Update(gameTime, Assets.Done); + screenManager.UpdateCurrentScreen(gameTime, Assets.Done); InputUtilities.Update(); camera.Update(); @@ -121,7 +121,7 @@ namespace RhythmBullet /// Provides a snapshot of timing values. protected override void Draw(GameTime gameTime) { - screenManager.Draw(spriteBatch); + screenManager.DrawCurrentScreen(spriteBatch); base.Draw(gameTime); } diff --git a/RhythmBullet/Zer01HD/Utilities/ScreenSystem/ScreenManager.cs b/RhythmBullet/Zer01HD/Utilities/ScreenSystem/ScreenManager.cs index d2c6dca..87a1644 100644 --- a/RhythmBullet/Zer01HD/Utilities/ScreenSystem/ScreenManager.cs +++ b/RhythmBullet/Zer01HD/Utilities/ScreenSystem/ScreenManager.cs @@ -53,7 +53,7 @@ namespace RhythmBullet.Zer01HD.Utilities.ScreenSystem this.camera = camera; } - public void Update(GameTime gameTime, bool assetsDone) + public void UpdateCurrentScreen(GameTime gameTime, bool assetsDone) { switch (Screen.State) { @@ -93,7 +93,7 @@ namespace RhythmBullet.Zer01HD.Utilities.ScreenSystem } } - public void Draw(SpriteBatch spriteBatch) + public void DrawCurrentScreen(SpriteBatch spriteBatch) { graphics.GraphicsDevice.Clear(Screen.BackgroundColor); if (Screen.State == ScreenState.EnterTransition && previousScreen != null && previousScreen.UseRenderTargetForExitTransition)