Пример #1
0
 public override void Update(GameTime gameTime)
 {
     menu.Update(gameTime);
     if (KeyMouseReader.KeyPressed(Keys.Escape))
     {
         EventManager.Dispatch(new PopStateEvent());
     }
     //Debugging for fast coins
     if (KeyMouseReader.KeyPressed(Keys.G))
     {
         Resources.AddCurrency(100);
     }
 }