Class GameEntity

java.lang.Object
zombie.entity.GameEntity
Direct Known Subclasses:
InventoryItem, IsoObject, MetaEntity, VehiclePart

public abstract class GameEntity extends Object
  • Field Details

  • Constructor Details

    • GameEntity

      public GameEntity()
  • Method Details

    • getDefaultEntityDisplayName

      public static String getDefaultEntityDisplayName()
    • getGameEntityType

      public abstract GameEntityType getGameEntityType()
    • getSquare

      public abstract IsoGridSquare getSquare()
    • getEntityNetID

      public abstract long getEntityNetID()
    • getX

      public abstract float getX()
    • getY

      public abstract float getY()
    • getZ

      public abstract float getZ()
    • isEntityValid

      public abstract boolean isEntityValid()
    • isValidEngineEntity

      public boolean isValidEngineEntity()
    • isMeta

      public boolean isMeta()
    • getEntityDisplayName

      public String getEntityDisplayName()
    • getEntityFullTypeDebug

      public String getEntityFullTypeDebug()
    • getExceptionCompatibleString

      public final String getExceptionCompatibleString()
    • attrib

      public final AttributeContainer attrib()
    • getAttributes

      public final AttributeContainer getAttributes()
    • getFluidContainer

      public final FluidContainer getFluidContainer()
    • getDurabilityComponent

      public final Durability getDurabilityComponent()
    • getSpriteConfig

      public final SpriteConfig getSpriteConfig()
    • isAddedToEngine

      public final boolean isAddedToEngine()
    • isRemovingFromEngine

      public final boolean isRemovingFromEngine()
    • isScheduledForEngineRemoval

      public final boolean isScheduledForEngineRemoval()
    • isScheduledForBucketUpdate

      public final boolean isScheduledForBucketUpdate()
    • hasRenderers

      public boolean hasRenderers()
    • hasComponents

      public final boolean hasComponents()
    • hasComponent

      public final boolean hasComponent(ComponentType componentType)
    • componentSize

      public final int componentSize()
    • getComponentForIndex

      public final Component getComponentForIndex(int int0)
    • getComponent

      public final <T extends Component> T getComponent(ComponentType componentType)
    • getComponentFromID

      public final Component getComponentFromID(short short0)
    • containsComponent

      public final boolean containsComponent(Component component)
    • sendComponentEvent

      protected final void sendComponentEvent(Component component, ComponentEventType componentEventType)
    • sendComponentEvent

      protected final void sendComponentEvent(Component component, ComponentEvent componentEvent)
    • sendEntityEvent

      protected final void sendEntityEvent(EntityEventType entityEventType)
    • sendEntityEvent

      protected final void sendEntityEvent(EntityEvent entityEvent)
    • connectComponents

      protected final void connectComponents()
    • onFirstCreation

      protected final void onFirstCreation()
    • reset

      public void reset()
    • onEquip

      public void onEquip()
    • onEquip

      public void onEquip(boolean boolean0)
    • onUnEquip

      public void onUnEquip()
    • addToWorld

      public void addToWorld()
    • removeFromWorld

      public void removeFromWorld()
    • removeFromWorld

      public final void removeFromWorld(boolean boolean0)
    • renderlast

      public void renderlast()
    • renderlastComponents

      public void renderlastComponents()
    • requiresEntitySave

      public final boolean requiresEntitySave()
    • saveEntity

      public final void saveEntity(ByteBuffer byteBuffer) throws IOException
      Throws:
      IOException
    • loadEntity

      public final void loadEntity(ByteBuffer byteBuffer, int int1) throws IOException
      Throws:
      IOException
    • isUsingPlayer

      public boolean isUsingPlayer(IsoPlayer isoPlayer)
    • getUsingPlayer

      public IsoPlayer getUsingPlayer()
    • setUsingPlayer

      public void setUsingPlayer(IsoPlayer isoPlayer)
    • sendServerEntityPacketTo

      protected final void sendServerEntityPacketTo(IsoPlayer isoPlayer, EntityPacketData entityPacketData)
    • sendClientEntityPacket

      protected final void sendClientEntityPacket(EntityPacketData entityPacketData)
    • sendServerEntityPacket

      protected final void sendServerEntityPacket(EntityPacketData entityPacketData, UdpConnection udpConnection)
    • onReceiveEntityPacket

      protected final boolean onReceiveEntityPacket(ByteBuffer byteBuffer, EntityPacketType entityPacketType, UdpConnection udpConnection) throws IOException
      Throws:
      IOException
    • sendUpdateUsingPlayer

      protected final void sendUpdateUsingPlayer()
    • receiveUpdateUsingPlayer

      protected final void receiveUpdateUsingPlayer(ByteBuffer byteBuffer, UdpConnection var2)
    • sendSyncEntity

      public final void sendSyncEntity(UdpConnection udpConnection)
    • receiveSyncEntity

      protected final void receiveSyncEntity(ByteBuffer byteBuffer, UdpConnection var2)
    • onFluidContainerUpdate

      public void onFluidContainerUpdate()