Beispiel #1
0
        public override void update(GameTime gameTime, InputListener input)
        {

            if (input.isKeyPressed(Keys.Tab))
            {
                isActive = !isActive;
            }
            if (isActive)
            {
                
            }
                

        }
Beispiel #2
0
 public override void update(GameTime gameTime, InputListener input)
 {
     if (input.isKeyPressed(Keys.Enter))
         exit = true;
 }