| Constructor and Description |
|---|
NbsSoundStopperEvent(short startLayer,
short endLayer) |
| Modifier and Type | Method and Description |
|---|---|
NbsSoundStopperEvent |
copy() |
boolean |
equals(java.lang.Object o) |
short |
getEndLayer() |
short |
getStartLayer() |
int |
hashCode() |
void |
setEndLayer(short endLayer) |
void |
setStartLayer(short startLayer) |
boolean |
shouldStop(Note note)
Checks if the specified note should be stopped by this event.
|
public NbsSoundStopperEvent(short startLayer,
short endLayer)
public short getStartLayer()
public void setStartLayer(short startLayer)
startLayer - The start layer (1 indexed, inclusive) of the layer range whose sounds will be stopped. 0 = stop all layerspublic short getEndLayer()
public void setEndLayer(short endLayer)
endLayer - The end layer (1 indexed, inclusive) of the layer range whose sounds will be stopped.public boolean shouldStop(Note note)
note - The note to check.public NbsSoundStopperEvent copy()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object