Class IsoStove

java.lang.Object
zombie.iso.IsoObject
zombie.iso.objects.IsoStove
All Implemented Interfaces:
Serializable, Activatable, Thumpable

public class IsoStove extends IsoObject implements Activatable
See Also:
  • Constructor Details

  • Method Details

    • getObjectName

      public String getObjectName()
      Overrides:
      getObjectName in class IsoObject
    • Activated

      public boolean Activated()
      Specified by:
      Activated in interface Activatable
    • update

      public void update()
      Overrides:
      update in class IsoObject
    • load

      public void load(ByteBuffer input, int WorldVersion, boolean IS_DEBUG_SAVE) throws IOException
      Overrides:
      load in class IsoObject
      Throws:
      IOException
    • save

      public void save(ByteBuffer output, boolean IS_DEBUG_SAVE) throws IOException
      Overrides:
      save in class IsoObject
      Throws:
      IOException
    • addToWorld

      public void addToWorld()
      Overrides:
      addToWorld in class IsoObject
    • Toggle

      public void Toggle()
      Turn on or off the stove, if no electricity it won't work
      Specified by:
      Toggle in interface Activatable
    • sync

      public void sync()
    • getActivatableType

      public String getActivatableType()
      Specified by:
      getActivatableType in interface Activatable
    • syncIsoObjectSend

      public void syncIsoObjectSend(ByteBufferWriter b)
      Overrides:
      syncIsoObjectSend in class IsoObject
    • syncIsoObject

      public void syncIsoObject(boolean bRemote, byte val, UdpConnection source, ByteBuffer bb)
      Overrides:
      syncIsoObject in class IsoObject
    • setActivated

      public void setActivated(boolean b)
    • setTimer

      public void setTimer(int seconds)
    • getTimer

      public int getTimer()
    • getMaxTemperature

      public float getMaxTemperature()
    • setMaxTemperature

      public void setMaxTemperature(float maxTemperature)
    • isMicrowave

      public boolean isMicrowave()
    • isRunningFor

      public int isRunningFor()
    • getCurrentTemperature

      public float getCurrentTemperature()
    • isTemperatureChanging

      public boolean isTemperatureChanging()
    • isBroken

      public boolean isBroken()
    • setBroken

      public void setBroken(boolean broken)
    • syncSpriteGridObjects

      public void syncSpriteGridObjects(boolean toggle, boolean network)