Class AlarmClock

java.lang.Object
zombie.inventory.InventoryItem
zombie.inventory.types.AlarmClock

public final class AlarmClock extends InventoryItem
  • Field Details

    • PacketPlayer

      public static short PacketPlayer
    • PacketWorld

      public static short PacketWorld
  • Constructor Details

  • Method Details

    • getAlarmSquare

      public IsoGridSquare getAlarmSquare()
    • shouldUpdateInWorld

      public boolean shouldUpdateInWorld()
      Overrides:
      shouldUpdateInWorld in class InventoryItem
    • update

      public void update()
      Overrides:
      update in class InventoryItem
    • updateSound

      public void updateSound(BaseSoundEmitter emitter)
      Overrides:
      updateSound in class InventoryItem
    • isRinging

      public boolean isRinging()
    • finishupdate

      public boolean finishupdate()
      Overrides:
      finishupdate in class InventoryItem
    • isDigital

      public boolean isDigital()
    • DoTooltip

      public void DoTooltip(ObjectTooltip tooltipUI, ObjectTooltip.Layout layout)
      Overrides:
      DoTooltip in class InventoryItem
    • save

      public void save(ByteBuffer output, boolean net) throws IOException
      Overrides:
      save in class InventoryItem
      Throws:
      IOException
    • load

      public void load(ByteBuffer input, int WorldVersion) throws IOException
      Overrides:
      load in class InventoryItem
      Throws:
      IOException
    • getSaveType

      public int getSaveType()
      Overrides:
      getSaveType in class InventoryItem
    • getCategory

      public String getCategory()
      Overrides:
      getCategory in class InventoryItem
    • setAlarmSet

      public void setAlarmSet(boolean alarmSet)
    • isAlarmSet

      public boolean isAlarmSet()
    • setHour

      public void setHour(int hour)
    • setMinute

      public void setMinute(int min)
    • getHour

      public int getHour()
    • getMinute

      public int getMinute()
    • syncAlarmClock

      public void syncAlarmClock()
    • syncAlarmClock_Player

      public void syncAlarmClock_Player(IsoPlayer player)
    • syncAlarmClock_World

      public void syncAlarmClock_World()
    • syncStopRinging

      public void syncStopRinging()
    • stopRinging

      public void stopRinging()
    • getAlarmSound

      public String getAlarmSound()
    • setAlarmSound

      public void setAlarmSound(String alarmSound)
    • getSoundRadius

      public int getSoundRadius()
    • setSoundRadius

      public void setSoundRadius(int soundRadius)