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