Class IsoStove

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

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

  • Method Details

    • getObjectName

      public java.lang.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​(java.nio.ByteBuffer input, int WorldVersion) throws java.io.IOException
      Overrides:
      load in class IsoObject
      Throws:
      java.io.IOException
    • save

      public void save​(java.nio.ByteBuffer output) throws java.io.IOException
      Overrides:
      save in class IsoObject
      Throws:
      java.io.IOException
    • addToWorld

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

      public void Toggle()
      Specified by:
      Toggle in interface Activatable
    • sync

      public void sync()
    • getActivatableType

      public java.lang.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, java.nio.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)
    • isRunningFor

      public int isRunningFor()
    • getCurrentTemperature

      public float getCurrentTemperature()
    • isTemperatureChanging

      public boolean isTemperatureChanging()
    • isBroken

      public boolean isBroken()
    • setBroken

      public void setBroken​(boolean broken)