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

Method angleUp

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

Source from the content-addressed store, hash-verified

396 }
397
398 public void angleUp()
399 {
400 if(angleUp == false && this.getCurrentTurnPlayer().isLocalPlayer() && !(this.getCurrentTurnPlayer() instanceof ComputerPlayer))
401 {
402 this.timeStartedAngle = System.currentTimeMillis();
403 this.angleUp = true;
404
405 ((GameScreen)graphwar.getUI().getScreen(Constants.GAME_SCREEN)).repaintAngle();
406 }
407 }
408
409 public void angleDown()
410 {

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