Esempio n. 1
0
 public void Draw(GameTime gameTime)
 {
     if (ActiveScreen == null)
     {
         throw new Exception("there is no active screen to draw!");
     }
     ActiveScreen.Draw(gameTime);
 }