Exemplo n.º 1
0
 public void execute(GameTime gametime, Player player, bool sound) {
     if (!player.iAir && !player.cDead) {
         player.JumpFunc();
         if (sound)
             player.jSound.Play();
     }
 }