private void StartFight(Character character, Models.Game game) { var currentFight = CreateCurrentFight(character, game); FightAuth.SetCurrentFight(currentFight); StaticBooleans.SetHasFightBeenInitializedBool(false); }
public void Draw(SpriteBatch spriteBatch, ContentManager Content) { if (StaticBooleans.IsShopOpen) { shopScreen.Draw(spriteBatch); } else if (FightAuth.HasStartedFight()) { if (!StaticBooleans.HasFightBeenInitialized) { fightScreen.Initialize(); fightScreen.LoadContent(Content); StaticBooleans.SetHasFightBeenInitializedBool(true); } fightScreen.Draw(spriteBatch); } else { LoadGameMenu(spriteBatch); } }