Class IsoGenerator

java.lang.Object
zombie.iso.IsoObject
zombie.iso.objects.IsoGenerator
All Implemented Interfaces:
java.io.Serializable

public class IsoGenerator
extends IsoObject
See Also:
Serialized Form
  • Field Details

    • fuel

      public float fuel
    • activated

      public boolean activated
    • condition

      public int condition
    • connected

      public boolean connected
  • Constructor Details

  • Method Details

    • setInfoFromItem

      public void setInfoFromItem​(InventoryItem inventoryItem)
    • update

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

      public void setSurroundingElectricity()
    • load

      public void load​(java.nio.ByteBuffer byteBuffer, int int1) throws java.io.IOException
      Overrides:
      load in class IsoObject
      Throws:
      java.io.IOException
    • save

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

      public void remove()
    • addToWorld

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

      public void removeFromWorld()
      Overrides:
      removeFromWorld in class IsoObject
    • getObjectName

      public java.lang.String getObjectName()
      Overrides:
      getObjectName in class IsoObject
    • getFuel

      public float getFuel()
    • setFuel

      public void setFuel​(float float1)
    • isActivated

      public boolean isActivated()
    • setActivated

      public void setActivated​(boolean boolean1)
    • failToStart

      public void failToStart()
    • getCondition

      public int getCondition()
    • setCondition

      public void setCondition​(int int1)
    • isConnected

      public boolean isConnected()
    • setConnected

      public void setConnected​(boolean boolean1)
    • syncIsoObjectSend

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

      public void syncIsoObject​(boolean boolean1, byte byte1, UdpConnection udpConnection, java.nio.ByteBuffer byteBuffer)
      Overrides:
      syncIsoObject in class IsoObject
    • sync

      public void sync​(float float1, int int1, boolean boolean1, boolean boolean2)
    • chunkLoaded

      public static void chunkLoaded​(IsoChunk chunk)
    • updateSurroundingNow

      public static void updateSurroundingNow()
    • Reset

      public static void Reset()
    • isPoweringSquare

      public static boolean isPoweringSquare​(int int1, int int2, int int3, int int4, int int5, int int6)