(boolean state)
| 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) { |
nothing calls this directly
no test coverage detected