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

Method angleDown

src/Graphwar/GameData.java:409–418  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

407 }
408
409 public void angleDown()
410 {
411 if(angleDown == false && this.getCurrentTurnPlayer().isLocalPlayer() && !(this.getCurrentTurnPlayer() instanceof ComputerPlayer))
412 {
413 this.timeStartedAngle = System.currentTimeMillis();
414 this.angleDown = true;
415
416 ((GameScreen)graphwar.getUI().getScreen(Constants.GAME_SCREEN)).repaintAngle();
417 }
418 }
419
420 public void stopAngle()
421 {

Callers 1

keyPressedMethod · 0.80

Calls 5

getCurrentTurnPlayerMethod · 0.95
isLocalPlayerMethod · 0.80
repaintAngleMethod · 0.80
getScreenMethod · 0.80
getUIMethod · 0.80

Tested by

no test coverage detected