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

Method notifyVBLStateChanged

src/main/java/jace/core/Computer.java:93–100  ·  view source on GitHub ↗
(boolean state)

Source from the content-addressed store, hash-verified

91 }
92
93 public void notifyVBLStateChanged(boolean state) {
94 for (Optional<Card> c : getMemory().cards) {
95 c.ifPresent(card -> card.notifyVBLStateChanged(state));
96 }
97 if (state && stateManager != null) {
98 stateManager.notifyVBLActive();
99 }
100 }
101
102 final public void setMemory(RAM memory) {
103 if (this.memory != memory) {

Callers

nothing calls this directly

Calls 2

getMemoryMethod · 0.95
notifyVBLActiveMethod · 0.80

Tested by

no test coverage detected