Disabled external gits
This commit is contained in:
17
Permafrost/src/platform/game/signals/Not.java
Normal file
17
Permafrost/src/platform/game/signals/Not.java
Normal file
@@ -0,0 +1,17 @@
|
||||
package platform.game.signals;
|
||||
|
||||
public class Not implements Signal {
|
||||
private final Signal signal;
|
||||
|
||||
public Not (Signal signal) {
|
||||
if (signal == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
this.signal = signal;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isActive() {
|
||||
return !signal.isActive();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user