Class GameEntity
java.lang.Object
zombie.entity.GameEntity
- Direct Known Subclasses:
InventoryItem
,IsoObject
,MetaEntity
,VehiclePart
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
final AttributeContainer
attrib()
final int
final boolean
containsComponent
(Component arg0) final AttributeContainer
final <T extends Component>
TgetComponent
(ComponentType componentType) final <T extends Component>
TgetComponentAny
(ComponentType... componentTypes) final Component
getComponentForIndex
(int arg0) final Component
getComponentFromID
(short arg0) static String
final Durability
abstract long
final String
final FluidContainer
abstract GameEntityType
final SpriteConfig
abstract IsoGridSquare
abstract float
getX()
abstract float
getY()
abstract float
getZ()
final boolean
hasComponent
(ComponentType arg0) final boolean
hasComponentAny
(ComponentType... componentTypes) final boolean
boolean
final boolean
abstract boolean
boolean
isMeta()
boolean
final boolean
final boolean
final boolean
boolean
isUsingPlayer
(IsoPlayer arg0) boolean
final void
loadEntity
(ByteBuffer arg0, int arg1) void
onEquip()
void
onEquip
(boolean arg0) void
void
void
final void
removeFromWorld
(boolean arg0) void
void
final boolean
void
reset()
final void
saveEntity
(ByteBuffer arg0) final void
sendSyncEntity
(UdpConnection arg0) void
setUsingPlayer
(IsoPlayer arg0)
-
Field Details
-
DEFAULT_ENTITY_DISPLAY_NAME
- See Also:
-
-
Constructor Details
-
GameEntity
public GameEntity()
-
-
Method Details
-
getDefaultEntityDisplayName
-
getGameEntityType
-
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() -
isOutside
public boolean isOutside() -
getEntityDisplayName
-
getEntityFullTypeDebug
-
getEntityScript
-
getExceptionCompatibleString
-
attrib
-
getAttributes
-
getFluidContainer
-
getDurabilityComponent
-
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
-
hasComponentAny
-
componentSize
public final int componentSize() -
getComponentForIndex
-
getComponent
-
getComponentAny
-
getComponentFromID
-
containsComponent
-
reset
public void reset() -
onEquip
public void onEquip() -
onEquip
public void onEquip(boolean arg0) -
onUnEquip
public void onUnEquip() -
addToWorld
public void addToWorld() -
removeFromWorld
public void removeFromWorld() -
removeFromWorld
public final void removeFromWorld(boolean arg0) -
renderlast
public void renderlast() -
renderlastComponents
public void renderlastComponents() -
requiresEntitySave
public final boolean requiresEntitySave() -
saveEntity
- Throws:
IOException
-
loadEntity
- Throws:
IOException
-
isUsingPlayer
-
getUsingPlayer
-
setUsingPlayer
-
sendSyncEntity
-
onFluidContainerUpdate
public void onFluidContainerUpdate()
-