MCPcopy Create free account
hub / github.com/badvision/jace / pause

Method pause

src/main/java/jace/core/Computer.java:214–220  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

212 protected abstract void doResume();
213
214 @InvokableAction(name = "Pause", description = "Stops the computer, allowing reconfiguration of core elements", alternatives = "freeze;halt", defaultKeyMapping = {"meta+pause", "alt+pause"})
215 final public boolean pause() {
216 boolean result = getRunningProperty().get();
217 doPause();
218 getRunningProperty().set(false);
219 return result;
220 }
221
222 @InvokableAction(name = "Resume", description = "Resumes the computer if it was previously paused", alternatives = "unpause;unfreeze;resume;play", defaultKeyMapping = {"meta+shift+pause", "alt+shift+pause"})
223 final public void resume() {

Callers 4

reconfigureMethod · 0.45
rewindMethod · 0.45
pauseClickedMethod · 0.45
initMethod · 0.45

Calls 4

getRunningPropertyMethod · 0.95
doPauseMethod · 0.95
setMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected