MCPcopy Index your code
hub / github.com/BombusMod/BombusMod / run

Method run

src/main/java/ui/VirtualCanvas.java:459–476  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

457 }
458
459 public void run() {
460 if (0 < slowlyIterations) {
461 slowlyIterations--;
462 if (0 != slowlyIterations % 2) {
463 return;
464 }
465 }
466 if (!VirtualCanvas.getInstance().isShown()) {
467 KeyRepeatTimer.stop();
468 return;
469 }
470 VirtualCanvas.getInstance().kHold = true;
471 try {
472 VirtualCanvas.getInstance().doKeyAction(key);
473 } catch(Exception e) {
474 }
475 VirtualCanvas.getInstance().repaint();
476 }
477 }
478
479

Callers

nothing calls this directly

Calls 5

getInstanceMethod · 0.95
stopMethod · 0.95
repaintMethod · 0.65
isShownMethod · 0.45
doKeyActionMethod · 0.45

Tested by

no test coverage detected