Class MUS.SystemEvent
java.lang.Object
net.mtrop.doom.sound.MUS.Event
net.mtrop.doom.sound.MUS.SystemEvent
- Enclosing class:
MUS
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intprotected intThe type.Fields inherited from class net.mtrop.doom.sound.MUS.Event
channel, restTics, type, TYPE_CHANGE_CONTROLLER, TYPE_PITCH, TYPE_PLAY, TYPE_RELEASE, TYPE_SCORE_END, TYPE_SYSTEM -
Method Summary
Modifier and TypeMethodDescriptionintvoidsetSystemType(int sysType) Sets this event's sysType.byte[]toBytes()toString()Methods inherited from class net.mtrop.doom.sound.MUS.Event
getChannel, getRestTics, getType, isLast, setChannel, setRestTics
-
Field Details
-
SYSTEM_SOUND_OFF
public static final int SYSTEM_SOUND_OFF- See Also:
-
SYSTEM_NOTES_OFF
public static final int SYSTEM_NOTES_OFF- See Also:
-
SYSTEM_MONO
public static final int SYSTEM_MONO- See Also:
-
SYSTEM_POLY
public static final int SYSTEM_POLY- See Also:
-
SYSTEM_RESET_ALL_CONTROLLERS
public static final int SYSTEM_RESET_ALL_CONTROLLERS- See Also:
-
sysType
protected int sysTypeThe type.
-
-
Method Details
-
getSystemType
public int getSystemType()- Returns:
- this event's sysType.
-
setSystemType
public void setSystemType(int sysType) Sets this event's sysType.- Parameters:
sysType- the new system type.- Throws:
IllegalArgumentException- ifsysTypeis not between 10 and 14.
-
toBytes
-
toString
-