Class MUS.SystemEvent

java.lang.Object
net.mtrop.doom.sound.MUS.Event
net.mtrop.doom.sound.MUS.SystemEvent
Enclosing class:
MUS

public static class MUS.SystemEvent extends MUS.Event
System event.
  • Field Details

  • 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 - if sysType is not between 10 and 14.
    • toBytes

      public byte[] toBytes()
      Specified by:
      toBytes in class MUS.Event
      Returns:
      this event to a serialized byte form.
    • toString

      public String toString()
      Overrides:
      toString in class Object