make VK_SPACE an accepted select key
This commit is contained in:
1 parent
9a3ac5c9af
commit
a99bbcc274
5 files changed
+12
-7
No files matched your search
@@ -70,7 +70,7 @@ public class ShopScreen extends Screen {
|
||||
this.player.setPosition(50, this.player.getY());
|
||||
this.player.setPosition(this.player.getX(), 159+(this.menuPoint*100));
|
||||
}
|
||||
}else if(Keyboard.isKeyDown(KeyEvent.VK_ENTER) && !this.keyPressed && this.animationStatus == 0) {
|
||||
}else if ( (Keyboard.isKeyDown(KeyEvent.VK_ENTER) || Keyboard.isKeyDown(KeyEvent.VK_SPACE)) && !this.keyPressed && this.animationStatus == 0) {
|
||||
this.keyPressed = true;
|
||||
///////////////////////////////////////////////////////////////
|
||||
switch (this.menuPoint) {
|
||||
|
||||
Reference in new issue
Block a user