public override void Update(GameTime gameTime) { if (sgi != null) { sgi.Update(gameTime); if (sgi.HasDied()) { sgi = null; } } }
public void StartGameInstance(bool hard, int nbPlayers) { sgi = new SimulatedGameInstance(hard, this, nbPlayers); }
public SimulatedGameManager(ContentManager Content, TimGame Application) : base(Content, Application) { sgi = null; }