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