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

Method doEvent

src/main/java/jace/core/SoftSwitch.java:114–120  ·  view source on GitHub ↗
(RAMEvent e)

Source from the content-addressed store, hash-verified

112 }
113
114 @Override
115 protected void doEvent(RAMEvent e) {
116 if (!exclusionActivate.contains(e.getAddress())) {
117 // System.out.println("Access to "+Integer.toHexString(e.getAddress())+" ENABLES switch "+getName());
118 setState(!getState());
119 }
120 }
121 };
122 addListener(l);
123 } else {

Callers

nothing calls this directly

Calls 10

setStateMethod · 0.95
getStateMethod · 0.95
withComputerMethod · 0.95
readSwitchMethod · 0.95
isReadMethod · 0.80
setNewValueMethod · 0.80
getFloatingBusMethod · 0.80
getVideoMethod · 0.80
getAddressMethod · 0.45
getTypeMethod · 0.45

Tested by

no test coverage detected