MCPcopy Create free account
hub / github.com/catabriga/graphwar / keyReleased

Method keyReleased

src/Graphwar/GameScreen.java:546–555  ·  view source on GitHub ↗
(KeyEvent e)

Source from the content-addressed store, hash-verified

544 }
545
546 public void keyReleased(KeyEvent e)
547 {
548 if(graphwar.getGameData().getGameMode() == Constants.SND_ODE)
549 {
550 if(e.getKeyCode() == KeyEvent.VK_UP || e.getKeyCode() == KeyEvent.VK_DOWN)
551 {
552 graphwar.getGameData().stopAngle();
553 }
554 }
555 }
556
557 public void keyTyped(KeyEvent arg0) {
558 // TODO Auto-generated method stub

Callers

nothing calls this directly

Calls 3

getGameDataMethod · 0.80
stopAngleMethod · 0.80
getGameModeMethod · 0.45

Tested by

no test coverage detected