Class IsoMovingObject
java.lang.Object
zombie.entity.GameEntity
zombie.iso.IsoObject
zombie.iso.IsoMovingObject
- All Implemented Interfaces:
Serializable
,Mover
,Thumpable
- Direct Known Subclasses:
BaseVehicle
,IsoDeadBody
,IsoGameCharacter
,IsoPhysicsObject
,IsoPushableObject
,IsoZombieHead
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class zombie.iso.IsoObject
IsoObject.IsoObjectFactory, IsoObject.OutlineShader, IsoObject.VisionResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
protected IsoGridSquare
protected Vector2
protected int
static final int
protected Vector2
protected IsoGridSquare
boolean
protected String
protected boolean
protected boolean
static TreeSoundManager
protected float
protected float
Fields inherited from class zombie.iso.IsoObject
alpha, AttachedAnimSprite, bAlphaForced, bAnimating, bmod, bMovedThumpable, bNeverDoneAlpha, bSatChair, Children, container, Damage, dir, doNotSync, emitter, externalWaterSource, fireColor, gmod, isOutlineHighlight, isOutlineHlAttached, isOutlineHlBlink, keyId, lastRendered, lastRenderedRendered, LowLightingQualityHack, MAX_WALL_SPLATS, name, NoPicking, objectRenderEffects, offsetX, offsetY, outlineHighlightCol, OutlineOnMouseover, overlaySprite, overlaySpriteColor, partialThumpDmg, ppfBlink, ppfHighlighted, ppfHighlightRenderOnce, renderDepthAdjust, renderInfo, renderSquareOverride, renderSquareOverride2, rerouteCollide, rerouteMask, rmod, sheetRope, sheetRopeHealth, sprite, spriteModel, spriteModelInit, spriteModelName, spriteName, square, sx, sy, table, targetAlpha, tintb, tintg, tintr, usesExternalWaterSource, wallBloodSplats, windRenderEffects
Fields inherited from class zombie.entity.GameEntity
DEFAULT_ENTITY_DISPLAY_NAME
-
Constructor Summary
ConstructorsConstructorDescriptionIsoMovingObject
(IsoCell cell) IsoMovingObject
(IsoCell cell, boolean bObjectListAdd) IsoMovingObject
(IsoCell cell, IsoGridSquare square, IsoSprite spr, boolean bObjectListAdd) -
Method Summary
Modifier and TypeMethodDescriptionbyte
This function calculate count of attackersvoid
collideWith
(IsoObject obj) int
compareToY
(IsoMovingObject other) void
Despawn()
float
DistTo
(int _x, int _y) float
DistTo
(IsoMovingObject other) float
float
DistToProper
(IsoObject other) float
DistToSquared
(float _x, float _y) float
DistToSquared
(IsoMovingObject other) void
void
void
doStairs()
void
getBumpedType
(IsoGameCharacter bumped) getDescription
(String string) float
getDistanceSq
(IsoMovingObject other) getFacingPosition
(Vector2 pos) float
getFeelerTile
(float dist) float
float
getGlobalMovementMod
(boolean bDoNoises) float
float
int
getID()
static int
float
float
float
float
getLastX()
float
getLastY()
float
getLastZ()
float
float
float
getNextX()
float
getNextY()
boolean
int
org.lwjgl.util.vector.Vector3f
getPosition
(org.lwjgl.util.vector.Vector3f vector3f) getPosition
(Vector3 out) Get the object's position.float
float
float
float
float
float
float
int
getVectorFromDirection
(Vector2 moveForwardVec) static Vector2
getVectorFromDirection
(Vector2 moveForwardVec, IsoDirections dir) float
float
getWeight
(float _x, float _y) float
getWidth()
float
getX()
float
getY()
float
getZ()
float
Hit
(HandWeapon weapon, IsoGameCharacter wielder, float damageSplit, boolean bIgnoreDamage, float modDelta) boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isEatingOther
(IsoMovingObject other) boolean
boolean
boolean
boolean
boolean
boolean
boolean
isSolid()
boolean
boolean
void
load
(ByteBuffer input, int WorldVersion, boolean IS_DEBUG_SAVE) void
void
MoveUnmodded
(Vector2 dir) void
onMouseRightClick
(int lx, int _ly) void
void
void
void
void
void
void
save
(ByteBuffer output, boolean IS_DEBUG_SAVE) void
separate()
Collision detectionvoid
setbAltCollide
(boolean _bAltCollide) void
setCloseKilled
(boolean _closeKilled) void
setCollidable
(boolean _Collidable) void
setCollidedE
(boolean _collidedE) void
setCollidedN
(boolean _collidedN) void
setCollidedObject
(IsoObject _CollidedObject) void
setCollidedS
(boolean _collidedS) void
setCollidedThisFrame
(boolean _collidedThisFrame) void
setCollidedW
(boolean _collidedW) void
setCollidedWithDoor
(boolean _CollidedWithDoor) void
setCollideType
(String _collideType) void
setCurrent
(IsoGridSquare _current) void
setDestroyed
(boolean _destroyed) void
setEatingZombies
(ArrayList<IsoZombie> zeds) void
setFeelersize
(float _feelersize) void
setFirstUpdate
(boolean _firstUpdate) void
setForceX
(float float0) void
setForceY
(float float0) void
void
setHitForce
(float _hitForce) void
setHitFromAngle
(float _hitFromAngle) void
setID
(int _ID) static void
setIDCount
(int aIDCount) void
setImpulsex
(float _impulsex) void
setImpulsey
(float _impulsey) void
setLast
(IsoGridSquare _last) void
setLastCollideTime
(float _lastCollideTime) void
setLastTargettedBy
(IsoZombie _lastTargettedBy) float
setLastX
(float float0) float
setLastY
(float float0) float
setLastZ
(float float0) void
setLimpulsex
(float _limpulsex) void
setLimpulsey
(float _limpulsey) void
setMovementLastFrame
(Vector2 _movementLastFrame) void
float
setNextX
(float float0) float
setNextY
(float float0) void
setNoDamage
(boolean dmg) void
setOnFloor
(boolean _bOnFloor) void
setPathFindIndex
(int _PathFindIndex) void
setPosition
(float float0, float float1) void
setPosition
(float float0, float float1, float float2) void
setPosition
(Vector2 vector2) void
setScriptModule
(String _ScriptModule) float
setScriptNextX
(float float0) float
setScriptNextY
(float float0) void
setScriptnx
(float _scriptnx) void
setScriptny
(float _scriptny) void
setShootable
(boolean _shootable) void
setSolid
(boolean _solid) void
setStateEventDelayTimer
(float _StateEventDelayTimer) void
setThumpTarget
(Thumpable _thumpTarget) void
setTimeSinceZombieAttack
(int _TimeSinceZombieAttack) void
setWeight
(float _weight) void
setWidth
(float _width) float
setX
(float float0) float
setY
(float float0) float
setZ
(float float0) void
setZombiesDontAttack
(boolean b) boolean
void
spotted
(IsoMovingObject other, boolean bForced) toString()
void
update()
void
Methods inherited from class zombie.iso.IsoObject
addAttachedAnimSprite, addAttachedAnimSpriteByName, addAttachedAnimSpriteInstance, addChild, addFluid, addItemsFromProperties, addItemToObjectSurface, addItemToObjectSurface, addLightSourceToWorld, addObjectAmbientEmitter, addSecondaryContainer, addSheetRope, addToWorld, afterRotated, AttachAnim, AttachExistingAnim, AttachExistingAnim, AttackObject, canAddSheetRope, checkAmbientSound, checkHaveElectricity, checkLightSourceActive, checkMoveWithWind, checkMoveWithWind, cleanWallBlood, clearAttachedAnimSprite, clearOnOverlay, Collision, countAddSheetRope, createContainersFromSpriteProperties, createFluidContainersFromSpriteProperties, customHashCode, Damage, debugPrintout, destroyFence, DirtySlice, doFindExternalWaterSource, DoSpecialTooltip, DoTooltip, emptyFluid, factoryClassFromFileInput, factoryFromFileInput, factoryFromFileInput, factoryFromFileInput_OLD, factoryGetClassID, FindExternalWaterSource, FindExternalWaterSource, FindExternalWaterSource, FindWaterSourceOnSquare, getAlpha, getAlpha, getAlphaUpdateRateDiv, getAlphaUpdateRateMul, getAttachedAnimSprite, getAttachedAnimSpriteCount, getCell, getChildSprites, getChunk, getContainer, getContainerByEitherType, getContainerByIndex, getContainerByType, getContainerCount, getContainerIndex, getCurrentFrameTex, getCustomColor, getDamage, getDir, getEntityNetID, getFacing, getFacingPositionAlt, getFactoryVehicle, getFasciaAttachedSquare, getFluidAmount, getFluidCapacity, getFluidUiName, getGameEntityType, getHighlightColor, getIsSurfaceNormalOffset, getItemContainer, getKeyId, getLastRendered, getLastRenderedRendered, getLightSource, getMaskClickedY, getMasterObject, getModData, getMovingObjectIndex, getName, getNew, getNew, getObjectIndex, getObjectRenderEffects, getObjectRenderEffectsToApply, getOffsetX, getOffsetY, getOnOverlay, getOutlineHighlightCol, getOutlineHighlightCol, getOutlineThickness, getOverlaySprite, getOverlaySpriteColor, getPipedFuelAmount, getProperties, getRenderEffectMaster, getRenderEffectObjectByIndex, getRenderEffectObjectCount, getRenderInfo, getRenderSquare, getRenderYOffset, getRerouteCollide, getRerouteMask, getRerouteMaskObject, getScriptName, getSpecialObjectIndex, getSprite, getSpriteGrid, getSpriteGridObjects, getSpriteGridObjects, getSpriteGridObjectsExcludingSelf, getSpriteGridObjectsIncludingSelf, getSpriteModel, getSpriteName, getStaticMovingObjectIndex, getSurfaceNormalOffset, getSurfaceOffset, getSurfaceOffsetNoTable, getTable, getTargetAlpha, getTargetAlpha, getTextureName, getThumpableFor, getThumpCondition, getTile, getTileName, getType, getUsesExternalWaterSource, GetVehicleSlowFactor, getWindRenderEffects, getWorldObjectIndex, hasAnimatedAttachments, hasAttachedAnimSprites, hasExternalWaterSource, hasFluid, hasModData, hasObjectAmbientEmitter, hasOverlaySprite, hasSpriteGrid, HasTooltip, hasWater, haveSheetRope, haveSpecialTooltip, Hit, HitByVehicle, invalidateRenderChunkLevel, invalidateVispolyChunkLevel, isAlphaAndTargetZero, isAlphaAndTargetZero, isAlphaZero, isAlphaZero, isAnimating, isBlink, isBlink, isBush, isCanPath, isConnectedSpriteGridObject, isEntityValid, isFascia, isFloor, isGenericCraftingSurface, isGrave, isHighlighted, isHighlighted, isHighlightRenderOnce, isHighlightRenderOnce, isHoppable, isItemAllowedInContainer, isMaskClicked, isMaskClicked, isMovedThumpable, isNoPicking, isNorthHoppable, isOnScreen, isOutlineHighlight, isOutlineHighlight, isOutlineHlAttached, isOutlineHlAttached, isOutlineHlBlink, isOutlineHlBlink, isOutlineOnMouseover, isRemoveItemAllowedFromContainer, isSatChair, isSpriteInvisible, isStairsNorth, isStairsObject, isStairsWest, isTableSurface, isTableTopObject, isTaintedWater, isTargetAlphaZero, isTent, isUpdateAlphaDuringRender, isUpdateAlphaEnabled, isZombie, load, loadChange, loadFromRemoteBuffer, loadFromRemoteBuffer, loadState, moveFluidToTemporaryContainer, onAnimationFinished, onMouseLeftClick, removeAllContainers, RemoveAttachedAnim, RemoveAttachedAnims, removeFromWorldToMeta, removeLightSourceFromWorld, removeRenderEffect, removeSheetRope, render, renderAnimatedAttachments, renderAttachedAndOverlaySprites, renderFloorTile, renderFxMask, renderModel, renderObjectPicker, renderWallTile, renderWallTileDepth, renderWallTileOnly, replaceItem, reset, reuseGridSquare, save, saveChange, saveState, sendObjectChange, sendObjectChange, sendObjectChange, Serialize, setAlpha, setAlpha, setAlphaAndTarget, setAlphaAndTarget, setAlphaToTarget, setAnimating, setAttachedAnimSprite, setBlink, setBlink, setChildSprites, setContainer, setCustomColor, setCustomColor, setDamage, setDefaultCondition, setDir, setDir, setExplored, setHighlightColor, setHighlightColor, setHighlighted, setHighlighted, setHighlighted, setHighlighted, setHighlightRenderOnce, setHighlightRenderOnce, setKeyId, setLastRendered, setLastRenderedRendered, setLightSource, setModData, setMovedThumpable, setName, SetName, setNoPicking, setOffsetX, setOffsetY, setOnOverlay, setOutlineHighlight, setOutlineHighlight, setOutlineHighlightCol, setOutlineHighlightCol, setOutlineHighlightCol, setOutlineHighlightCol, setOutlineHlAttached, setOutlineHlAttached, setOutlineHlBlink, setOutlineHlBlink, setOutlineOnMouseover, setOutlineThickness, setOverlaySprite, setOverlaySprite, setOverlaySprite, setOverlaySprite, setOverlaySpriteColor, setPipedFuelAmount, setRenderEffect, setRenderEffect, setRenderYOffset, setRerouteCollide, setRerouteMask, setSatChair, setSpecialTooltip, setSprite, setSprite, setSpriteFromName, setSpriteModelName, setSquare, setTable, setTargetAlpha, setTargetAlpha, setTile, setType, setUsesExternalWaterSource, shouldLightSourceBeActive, shouldShowOnOverlay, softReset, sync, syncIsoObject, syncIsoObjectReceive, syncIsoObjectSend, TestCollide, TestPathfindCollide, TestVision, Thump, transferFluidFrom, transferFluidTo, transmitCompleteItemToClients, transmitCompleteItemToServer, transmitCustomColorToClients, transmitModData, transmitUpdatedSprite, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToServer, UnCollision, unsetOutlineHighlight, updateAlpha, updateAlpha, updateAlpha, updateRenderInfoForObjectPicker, useFluid, useItemOn, WeaponHit, writeToRemoteBuffer
Methods inherited from class zombie.entity.GameEntity
attrib, componentSize, connectComponents, containsComponent, getAttributes, getComponent, getComponentForIndex, getComponentFromID, getDefaultEntityDisplayName, getDurabilityComponent, getEntityDisplayName, getEntityFullTypeDebug, getExceptionCompatibleString, getFluidContainer, getSpriteConfig, getUsingPlayer, hasComponent, hasComponents, hasRenderers, isAddedToEngine, isMeta, isRemovingFromEngine, isScheduledForBucketUpdate, isScheduledForEngineRemoval, isUsingPlayer, isValidEngineEntity, loadEntity, onEquip, onEquip, onFirstCreation, onFluidContainerUpdate, onReceiveEntityPacket, onUnEquip, receiveSyncEntity, receiveUpdateUsingPlayer, removeFromWorld, renderlastComponents, requiresEntitySave, saveEntity, sendClientEntityPacket, sendComponentEvent, sendComponentEvent, sendEntityEvent, sendEntityEvent, sendServerEntityPacket, sendServerEntityPacketTo, sendSyncEntity, sendUpdateUsingPlayer, setUsingPlayer
-
Field Details
-
treeSoundMgr
-
MAX_ZOMBIES_EATING
public static final int MAX_ZOMBIES_EATING- See Also:
-
noDamage
public boolean noDamage -
last
-
reqMovement
-
def
-
current
-
hitDir
-
ID
protected int ID -
movingSq
-
solid
protected boolean solid -
width
protected float width -
shootable
protected boolean shootable -
Collidable
protected boolean Collidable -
ScriptModule
-
movementLastFrame
-
weight
protected float weight
-
-
Constructor Details
-
IsoMovingObject
-
IsoMovingObject
-
IsoMovingObject
-
IsoMovingObject
public IsoMovingObject()
-
-
Method Details
-
toString
-
getIDCount
public static int getIDCount()- Returns:
- the IDCount
-
setIDCount
public static void setIDCount(int aIDCount) -
getBuilding
-
getMasterRegion
-
getWeight
public float getWeight() -
setWeight
public void setWeight(float _weight) -
getWeight
public float getWeight(float _x, float _y) -
onMouseRightClick
public void onMouseRightClick(int lx, int _ly) - Overrides:
onMouseRightClick
in classIsoObject
-
getObjectName
- Overrides:
getObjectName
in classIsoObject
-
onMouseRightReleased
public void onMouseRightReleased()- Overrides:
onMouseRightReleased
in classIsoObject
-
collideWith
-
doStairs
public void doStairs() -
getID
-
setID
public void setID(int _ID) -
getPathFindIndex
public int getPathFindIndex()- Specified by:
getPathFindIndex
in interfaceMover
-
setPathFindIndex
public void setPathFindIndex(int _PathFindIndex) -
getScreenX
public float getScreenX() -
getScreenY
public float getScreenY() -
getThumpTarget
-
setThumpTarget
-
getVectorFromDirection
-
getVectorFromDirection
-
getPosition
-
getPosition
public org.lwjgl.util.vector.Vector3f getPosition(org.lwjgl.util.vector.Vector3f vector3f) -
setPosition
public void setPosition(float float0, float float1) -
setPosition
-
setPosition
public void setPosition(float float0, float float1, float float2) -
getX
-
setX
public float setX(float float0) -
setForceX
public void setForceX(float float0) -
getY
-
setY
public float setY(float float0) -
setForceY
public void setForceY(float float0) -
getZ
-
setZ
public float setZ(float float0) -
getSquare
-
getCurrentBuilding
-
Hit
public float Hit(HandWeapon weapon, IsoGameCharacter wielder, float damageSplit, boolean bIgnoreDamage, float modDelta) -
Move
-
MoveUnmodded
-
isCharacter
public boolean isCharacter()- Overrides:
isCharacter
in classIsoObject
-
DistTo
public float DistTo(int _x, int _y) -
DistTo
-
DistToProper
-
DistToSquared
-
DistToSquared
public float DistToSquared(float _x, float _y) -
load
- Overrides:
load
in classIsoObject
- Throws:
IOException
-
getDescription
-
save
- Overrides:
save
in classIsoObject
- Throws:
IOException
-
removeFromWorld
public void removeFromWorld()- Overrides:
removeFromWorld
in classIsoObject
-
removeFromSquare
public void removeFromSquare()- Overrides:
removeFromSquare
in classIsoObject
-
getFuturWalkedSquare
-
getGlobalMovementMod
public float getGlobalMovementMod() -
getGlobalMovementMod
public float getGlobalMovementMod(boolean bDoNoises) -
postupdate
public void postupdate() -
updateAnimation
public void updateAnimation() -
ensureOnTile
public void ensureOnTile() -
preupdate
public void preupdate() -
renderlast
public void renderlast()- Overrides:
renderlast
in classIsoObject
-
spotted
-
update
-
compareToY
-
distToNearestCamCharacter
public float distToNearestCamCharacter() -
isSolidForSeparate
public boolean isSolidForSeparate() -
isPushableForSeparate
public boolean isPushableForSeparate() -
isPushedByForSeparate
-
separate
public void separate()Collision detection -
getBumpedType
-
getLastX
public float getLastX() -
setLastX
public float setLastX(float float0) -
getLastY
public float getLastY() -
setLastY
public float setLastY(float float0) -
getLastZ
public float getLastZ() -
setLastZ
public float setLastZ(float float0) -
getNextX
public float getNextX() -
setNextX
public float setNextX(float float0) -
getNextY
public float getNextY() -
setNextY
public float setNextY(float float0) -
getScriptNextX
public float getScriptNextX() -
setScriptNextX
public float setScriptNextX(float float0) -
getScriptNextY
public float getScriptNextY() -
setScriptNextY
public float setScriptNextY(float float0) -
setMovingSquareNow
public void setMovingSquareNow() -
getFeelerTile
-
DoCollideNorS
public void DoCollideNorS() -
DoCollideWorE
public void DoCollideWorE() -
getTimeSinceZombieAttack
public int getTimeSinceZombieAttack()- Returns:
- the TimeSinceZombieAttack
-
setTimeSinceZombieAttack
public void setTimeSinceZombieAttack(int _TimeSinceZombieAttack) -
isCollidedE
public boolean isCollidedE()- Returns:
- the collidedE
-
setCollidedE
public void setCollidedE(boolean _collidedE) -
isCollidedN
public boolean isCollidedN()- Returns:
- the collidedN
-
setCollidedN
public void setCollidedN(boolean _collidedN) -
getCollidedObject
- Returns:
- the CollidedObject
-
setCollidedObject
-
isCollidedS
public boolean isCollidedS()- Returns:
- the collidedS
-
setCollidedS
public void setCollidedS(boolean _collidedS) -
isCollidedThisFrame
public boolean isCollidedThisFrame()- Returns:
- the collidedThisFrame
-
setCollidedThisFrame
public void setCollidedThisFrame(boolean _collidedThisFrame) -
isCollidedW
public boolean isCollidedW()- Returns:
- the collidedW
-
setCollidedW
public void setCollidedW(boolean _collidedW) -
isCollidedWithDoor
public boolean isCollidedWithDoor()- Returns:
- the CollidedWithDoor
-
setCollidedWithDoor
public void setCollidedWithDoor(boolean _CollidedWithDoor) -
isCollidedWithVehicle
public boolean isCollidedWithVehicle() -
getCurrentSquare
- Returns:
- the current
-
getCurrentZone
-
setCurrent
-
isDestroyed
public boolean isDestroyed()- Specified by:
isDestroyed
in interfaceThumpable
- Overrides:
isDestroyed
in classIsoObject
- Returns:
- the destroyed
-
setDestroyed
public void setDestroyed(boolean _destroyed) -
isFirstUpdate
public boolean isFirstUpdate()- Returns:
- the firstUpdate
-
setFirstUpdate
public void setFirstUpdate(boolean _firstUpdate) -
getHitDir
- Returns:
- the hitDir
-
setHitDir
-
getImpulsex
public float getImpulsex()- Returns:
- the impulsex
-
setImpulsex
public void setImpulsex(float _impulsex) -
getImpulsey
public float getImpulsey()- Returns:
- the impulsey
-
setImpulsey
public void setImpulsey(float _impulsey) -
getLimpulsex
public float getLimpulsex()- Returns:
- the limpulsex
-
setLimpulsex
public void setLimpulsex(float _limpulsex) -
getLimpulsey
public float getLimpulsey()- Returns:
- the limpulsey
-
setLimpulsey
public void setLimpulsey(float _limpulsey) -
getHitForce
public float getHitForce()- Returns:
- the hitForce
-
setHitForce
public void setHitForce(float _hitForce) -
getHitFromAngle
public float getHitFromAngle()- Returns:
- the hitFromAngle
-
setHitFromAngle
public void setHitFromAngle(float _hitFromAngle) -
getLastSquare
- Returns:
- the last
-
setLast
-
getNoDamage
public boolean getNoDamage()- Returns:
- whether the object should take damage or not.
-
setNoDamage
public void setNoDamage(boolean dmg) -
isSolid
public boolean isSolid()- Returns:
- the solid
-
setSolid
public void setSolid(boolean _solid) -
getStateEventDelayTimer
public float getStateEventDelayTimer()- Returns:
- the StateEventDelayTimer
-
setStateEventDelayTimer
public void setStateEventDelayTimer(float _StateEventDelayTimer) -
getWidth
public float getWidth()- Returns:
- the width
-
setWidth
public void setWidth(float _width) -
isbAltCollide
public boolean isbAltCollide()- Returns:
- the bAltCollide
-
setbAltCollide
public void setbAltCollide(boolean _bAltCollide) -
isShootable
public boolean isShootable()- Returns:
- the shootable
-
setShootable
public void setShootable(boolean _shootable) -
getLastTargettedBy
- Returns:
- the lastTargettedBy
-
setLastTargettedBy
-
isCollidable
public boolean isCollidable()- Returns:
- the Collidable
-
setCollidable
public void setCollidable(boolean _Collidable) -
getScriptnx
public float getScriptnx()- Returns:
- the scriptnx
-
setScriptnx
public void setScriptnx(float _scriptnx) -
getScriptny
public float getScriptny()- Returns:
- the scriptny
-
setScriptny
public void setScriptny(float _scriptny) -
getScriptModule
- Returns:
- the ScriptModule
-
setScriptModule
-
getMovementLastFrame
- Returns:
- the movementLastFrame
-
setMovementLastFrame
-
getFeelersize
public float getFeelersize()- Returns:
- the feelersize
-
setFeelersize
public void setFeelersize(float _feelersize) -
canHaveMultipleHits
public byte canHaveMultipleHits()This function calculate count of attackers- Returns:
- 0 - no attackets, 1 - one player can attack this character, 2 - multiply players can attack this character
-
isOnFloor
public boolean isOnFloor() -
setOnFloor
public void setOnFloor(boolean _bOnFloor) -
Despawn
public void Despawn() -
isCloseKilled
public boolean isCloseKilled() -
setCloseKilled
public void setCloseKilled(boolean _closeKilled) -
getFacingPosition
- Overrides:
getFacingPosition
in classIsoObject
-
isCollided
public boolean isCollided() -
getCollideType
-
setCollideType
-
getLastCollideTime
public float getLastCollideTime() -
setLastCollideTime
public void setLastCollideTime(float _lastCollideTime) -
getEatingZombies
-
setEatingZombies
-
isEatingOther
-
getDistanceSq
-
setZombiesDontAttack
public void setZombiesDontAttack(boolean b) -
isZombiesDontAttack
public boolean isZombiesDontAttack() -
isExistInTheWorld
public boolean isExistInTheWorld()- Overrides:
isExistInTheWorld
in classIsoObject
-
shouldIgnoreCollisionWithSquare
-