Class IsoMovingObject
java.lang.Object
zombie.entity.GameEntity
zombie.iso.IsoObject
zombie.iso.IsoMovingObject
- All Implemented Interfaces:
Serializable, Mover, ILuaIsoObject, IsoRenderable, Thumpable
- Direct Known Subclasses:
BaseVehicle, IsoDeadBody, IsoGameCharacter, IsoPhysicsObject, IsoPushableObject, IsoZombieHead
-
Nested Class Summary
Nested classes/interfaces inherited from class IsoObject
IsoObject.IsoObjectFactory, IsoObject.OutlineShader, IsoObject.VisionResult -
Field Summary
FieldsFields inherited from class IsoObject
alpha, alphaForced, attachedAnimSprite, bmod, container, damage, dir, doNotSync, emitter, fireColor, gmod, keyId, lastRendered, lastRenderedRendered, lowLightingQualityHack, MAX_WALL_SPLATS, name, neverDoneAlpha, noPicking, offsetX, offsetY, outlineOnMouseover, overlaySprite, overlaySpriteColor, partialThumpDmg, ppfBlink, ppfHighlighted, ppfHighlightRenderOnce, renderDepthAdjust, renderSquareOverride, renderSquareOverride2, rerouteCollide, rerouteMask, rmod, satChair, sheetRope, sheetRopeHealth, sprite, spriteName, square, sx, sy, table, tintb, tintg, tintr, wallBloodSplatsFields inherited from class 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 TypeMethodDescriptionbyteThis function calculate count of attackersvoidcollideWith(IsoObject obj) intcompareToY(IsoMovingObject other) voidDespawn()floatDistTo(int x, int y) floatDistTo(IsoMovingObject other) floatfloatDistToProper(IsoObject other) floatDistToSquared(float x, float y) floatDistToSquared(IsoMovingObject other) voidvoidvoiddoStairs()voidgetBumpedType(IsoGameCharacter bumped) getDescription(String in_separatorStr) floatgetDistanceSq(IsoMovingObject other) getFacingPosition(Vector2 pos) floatgetFeelerTile(float dist) floatfloatgetGlobalMovementMod(boolean bDoNoises) floatfloatintgetID()static intfloatfloatfloatfloatgetLastX()floatgetLastY()floatgetLastZ()floatfloatfloatgetNextX()floatgetNextY()booleanintorg.lwjgl.util.vector.Vector3fgetPosition(org.lwjgl.util.vector.Vector3f out) getPosition(Vector2 out) getPosition(Vector3 out) Get the object's position.floatfloatfloatfloatfloatfloatfloatintintgetVectorFromDirection(Vector2 moveForwardVec) static Vector2getVectorFromDirection(Vector2 moveForwardVec, IsoDirections dir) floatfloatgetWeight(float x, float y) floatgetWidth()floatgetX()floatgetY()floatgetZ()floatHit(HandWeapon weapon, IsoGameCharacter wielder, float damageSplit, boolean bIgnoreDamage, float modDelta) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisEatingOther(IsoMovingObject other) booleanbooleanbooleanbooleanbooleanisProne()booleanbooleanbooleanbooleanisSolid()booleanfinal booleanvoidload(ByteBuffer input, int WorldVersion, boolean IS_DEBUG_SAVE) voidvoidMoveUnmodded(Vector2 dir) voidonMouseRightClick(int lx, int ly) voidvoidvoidvoidvoidvoidvoidsave(ByteBuffer output, boolean IS_DEBUG_SAVE) voidseparate()Collision detectionvoidsetbAltCollide(boolean altCollide) voidsetCloseKilled(boolean closeKilled) voidsetCollidable(boolean Collidable) voidsetCollidedE(boolean collidedE) voidsetCollidedN(boolean collidedN) voidsetCollidedObject(IsoObject CollidedObject) voidsetCollidedS(boolean collidedS) voidsetCollidedThisFrame(boolean collidedThisFrame) voidsetCollidedW(boolean collidedW) voidsetCollidedWithDoor(boolean CollidedWithDoor) voidsetCollideType(String collideType) voidsetCurrent(IsoGridSquare current) voidvoidsetCurrentSquareFromPosition(float x1, float y1) voidsetCurrentSquareFromPosition(float x1, float y1, float z1) voidsetDestroyed(boolean destroyed) voidsetEatingZombies(ArrayList<IsoZombie> zeds) voidsetFeelersize(float feelersize) voidsetFirstUpdate(boolean firstUpdate) voidsetForceX(float x) voidsetForceY(float y) voidvoidsetHitForce(float hitForce) voidsetHitFromAngle(float hitFromAngle) voidsetID(int id) static voidsetIDCount(int aIDCount) voidsetImpulsex(float impulsex) voidsetImpulsey(float impulsey) voidsetLast(IsoGridSquare last) voidsetLastCollideTime(float lastCollideTime) voidsetLastTargettedBy(IsoZombie lastTargettedBy) floatsetLastX(float lx) floatsetLastY(float ly) floatsetLastZ(float lz) voidsetLimpulsex(float limpulsex) voidsetLimpulsey(float limpulsey) voidsetMovementLastFrame(Vector2 movementLastFrame) voidfloatsetNextX(float nx) floatsetNextY(float ny) voidsetNoDamage(boolean dmg) voidsetOnFloor(boolean bOnFloor) voidsetPathFindIndex(int PathFindIndex) voidsetPosition(float x, float y) voidsetPosition(float x, float y, float z) voidsetPosition(Vector2 in_pos) voidsetScriptModule(String ScriptModule) floatsetScriptNextX(float scriptnx) floatsetScriptNextY(float scriptny) voidsetScriptnx(float scriptnx) voidsetScriptny(float scriptny) voidsetShootable(boolean shootable) voidsetSolid(boolean solid) voidsetStateEventDelayTimer(float StateEventDelayTimer) voidsetThumpTarget(Thumpable thumpTarget) voidsetTimeSinceZombieAttack(int TimeSinceZombieAttack) voidsetWeight(float weight) voidsetWidth(float width) floatsetX(float x) floatsetY(float y) floatsetZ(float z) booleanvoidspotted(IsoMovingObject other, boolean bForced) toString()voidupdate()voidMethods inherited from class IsoObject
addAttachedAnimSprite, addAttachedAnimSpriteByName, addAttachedAnimSpriteInstance, addChild, addFluid, addItemToObjectSurface, addItemToObjectSurface, addItemToObjectSurface, addSecondaryContainer, addSheetRope, addToWorld, afterRotated, AttachAnim, AttachAnim, AttachExistingAnim, AttachExistingAnim, AttackObject, canAddSheetRope, canTransferFluidFrom, canTransferFluidTo, checkAmbientSound, checkHaveElectricity, checkLightSourceActive, checkObjectPowered, cleanWallBlood, clearAttachedAnimSprite, clearOnOverlay, Collision, countAddSheetRope, createContainersFromSpriteProperties, createFluidContainersFromSpriteProperties, customHashCode, Damage, debugPrintout, destroyFence, DirtySlice, doFindExternalWaterSource, DoSpecialTooltip, DoTooltip, dumpContentsInSquare, emptyFluid, factoryClassFromFileInput, factoryFromFileInput, factoryFromFileInput, factoryFromFileInput_OLD, factoryGetClassID, FindExternalWaterSource, FindExternalWaterSource, FindExternalWaterSource, FindWaterSourceOnSquare, flagForHotSave, getAlpha, getAlpha, getAttachedAnimSprite, getAttachedAnimSpriteCount, getCell, getChildSprites, getChunk, getContainer, getContainerByEitherType, getContainerByIndex, getContainerByType, getContainerClickedOn, getContainerCount, getContainerIndex, getContainers, getCurrentFrameTex, getCustomColor, getDamage, getDir, getDoRender, getEntityNetID, getFacing, getFacingPositionAlt, getFactoryVehicle, getFasciaAttachedSquare, getFluidAmount, getFluidCapacity, getFluidUiName, getForwardIsoDirection, getForwardMovementIsoDirection, getGameEntityType, getHighlightColor, getHighlightColor, getIsSurfaceNormalOffset, getItemContainer, getKeyId, getLastRendered, getLastRenderedRendered, getLightSource, getMaskClickedY, getMasterObject, getModData, getMovingObjectIndex, getName, getNew, getNew, getObjectIndex, getObjectRenderEffects, getObjectRenderEffectsToApply, getOffsetX, getOffsetY, getOnOverlay, getOutlineHighlightCol, getOutlineThickness, getOverlaySprite, getOverlaySpriteColor, getPipedFuelAmount, getProperties, getProperty, 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, hasAdjacentCanStandSquare, hasAnimatedAttachments, hasAttachedAnimSprites, hasExternalWaterSource, hasFluid, hasGridPower, hasModData, hasOverlaySprite, hasPropaneTank, hasProperty, hasProperty, hasSpriteGrid, HasTooltip, hasWater, haveSheetRope, haveSpecialTooltip, Hit, HitByVehicle, invalidateRenderChunkLevel, invalidateVispolyChunkLevel, isAlphaAndTargetZero, isAlphaAndTargetZero, isAlphaZero, isAlphaZero, isAnimating, isBlink, isBlink, isBush, isCanPath, isConnectedSpriteGridObject, isEntityValid, isFascia, isFireInteractionObject, isFloor, isFluidInputLocked, isGenericCraftingSurface, isGrave, isHighlighted, isHighlighted, isHighlightRenderOnce, isHighlightRenderOnce, isHoppable, isItemAllowedInContainer, isLit, isMaskClicked, isMaskClicked, isMovedThumpable, isNoPicking, isNorthBlocked, isNorthHoppable, isObjectNoContainerOrEmpty, isOnScreen, isOre, isOutlineHighlight, isOutlineHighlight, isOutlineHlAttached, isOutlineHlAttached, isOutlineHlBlink, isOutlineHlBlink, isOutlineOnMouseover, isPropaneBBQ, isRemoveItemAllowedFromContainer, isSatChair, isSceneCulled, isSpriteInvisible, isStairsNorth, isStairsObject, isStairsWest, isStump, isTableSurface, isTableTopObject, isTaintedWater, isTallHoppable, isTargetAlphaZero, isTent, isWall, isWallN, isWallSE, isWallW, isWindow, isZombie, load, loadChange, loadFromRemoteBuffer, loadFromRemoteBuffer, loadState, moveFluidToTemporaryContainer, onAnimationFinished, onMouseLeftClick, propertyEquals, propertyEqualsIgnoreCase, removeAllContainers, RemoveAttachedAnim, RemoveAttachedAnims, removeFromWorldToMeta, removeRenderEffect, removeSheetRope, render, renderAnimatedAttachments, renderAttachedAndOverlaySprites, renderFloorTile, renderFxMask, 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, setDir, setDoRender, setExplored, setForwardIsoDirection, setForwardIsoDirection, setHighlightColor, setHighlightColor, setHighlightColor, setHighlightColor, setHighlighted, setHighlighted, setHighlighted, setHighlighted, setHighlightRenderOnce, setHighlightRenderOnce, setKeyId, setLastRendered, setLastRenderedRendered, setLightSource, setLit, 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, setSceneCulled, setSpecialTooltip, setSprite, setSprite, setSpriteFromName, setSpriteModelName, setSquare, setTable, setTargetAlpha, setTargetAlpha, setTile, setType, setUsesExternalWaterSource, shouldShowOnOverlay, softReset, spawnItemToObjectSurface, spawnItemToObjectSurface, spawnItemToObjectSurface, sync, syncFluidContainerReceive, syncFluidContainerSend, syncIsoObject, syncIsoObjectReceive, syncIsoObjectSend, TestCollide, TestPathfindCollide, TestVision, Thump, transferFluidFrom, transferFluidTo, transmitCompleteItemToClients, transmitCompleteItemToServer, transmitCustomColorToClients, transmitModData, transmitUpdatedSprite, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToServer, turnOn, UnCollision, unsetOutlineHighlight, useFluid, useItemOn, WeaponHit, writeToRemoteBufferMethods inherited from class GameEntity
attrib, componentSize, containsComponent, getAttributes, getComponent, getComponentAny, getComponentForIndex, getComponentFromID, getDefaultEntityDisplayName, getDurabilityComponent, getEntityDisplayName, getEntityFullTypeDebug, getEntityScript, getExceptionCompatibleString, getFluidContainer, getSpriteConfig, getUsingPlayer, hasComponent, hasComponentAny, hasComponents, hasRenderers, isAddedToEngine, isMeta, isOutside, isRemovingFromEngine, isScheduledForBucketUpdate, isScheduledForEngineRemoval, isUsingPlayer, isValidEngineEntity, loadEntity, loadEntity, onEquip, onEquip, onFluidContainerUpdate, onUnEquip, removeFromWorld, renderlastComponents, requiresEntitySave, saveEntity, sendSyncEntity, setUsingPlayerMethods inherited from interface ILuaIsoObject
setDir
-
Field Details
-
treeSoundMgr
-
MAX_ZOMBIES_EATING
public static final int MAX_ZOMBIES_EATING- See Also:
-
noDamage
public boolean noDamage -
last
-
reqMovement
-
def
-
-
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) - Parameters:
aIDCount- the IDCount to set
-
getBuilding
-
getMasterRegion
-
getWeight
public float getWeight() -
setWeight
public void setWeight(float weight) - Parameters:
weight- the weight to set
-
getWeight
public float getWeight(float x, float y) -
onMouseRightClick
public void onMouseRightClick(int lx, int ly) - Overrides:
onMouseRightClickin classIsoObject
-
getObjectName
- Overrides:
getObjectNamein classIsoObject
-
onMouseRightReleased
public void onMouseRightReleased()- Overrides:
onMouseRightReleasedin classIsoObject
-
collideWith
-
doStairs
public void doStairs() -
getID
-
setID
public void setID(int id) - Parameters:
id- the ID to set
-
getPathFindIndex
public int getPathFindIndex()- Specified by:
getPathFindIndexin interfaceMover
-
setPathFindIndex
public void setPathFindIndex(int PathFindIndex) - Parameters:
PathFindIndex- the PathFindIndex to set
-
getScreenX
public float getScreenX() -
getScreenY
public float getScreenY() -
getThumpTarget
-
setThumpTarget
- Parameters:
thumpTarget- the thumpTarget to set
-
getVectorFromDirection
-
getVectorFromDirection
-
getPosition
Get the object's position. Stored in the supplied parameter.- Overrides:
getPositionin classIsoObject- Returns:
- The out parameter.
-
getPosition
public org.lwjgl.util.vector.Vector3f getPosition(org.lwjgl.util.vector.Vector3f out) - Overrides:
getPositionin classIsoObject
-
getPosition
-
setPosition
public void setPosition(float x, float y) -
setPosition
-
setPosition
public void setPosition(float x, float y, float z) -
getX
-
setX
public float setX(float x) -
setForceX
public void setForceX(float x) -
getY
-
setY
public float setY(float y) -
setForceY
public void setForceY(float y) -
getZ
-
setZ
public float setZ(float z) -
getMovingSquare
-
getSquare
-
getCurrentBuilding
-
Hit
public float Hit(HandWeapon weapon, IsoGameCharacter wielder, float damageSplit, boolean bIgnoreDamage, float modDelta) -
Move
-
MoveUnmodded
-
isCharacter
public boolean isCharacter()- Overrides:
isCharacterin classIsoObject
-
DistTo
public float DistTo(int x, int y) -
DistTo
-
DistToProper
-
DistToSquared
-
DistToSquared
public float DistToSquared(float x, float y) -
load
- Overrides:
loadin classIsoObject- Throws:
IOException
-
getDescription
-
save
- Overrides:
savein classIsoObject- Throws:
IOException
-
removeFromWorld
public void removeFromWorld()- Overrides:
removeFromWorldin classIsoObject
-
removeFromSquare
public void removeFromSquare()- Overrides:
removeFromSquarein 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:
renderlastin 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 lx) -
getLastY
public float getLastY() -
setLastY
public float setLastY(float ly) -
getLastZ
public float getLastZ() -
setLastZ
public float setLastZ(float lz) -
getNextX
public float getNextX() -
setNextX
public float setNextX(float nx) -
getNextY
public float getNextY() -
setNextY
public float setNextY(float ny) -
getScriptNextX
public float getScriptNextX() -
setScriptNextX
public float setScriptNextX(float scriptnx) -
getScriptNextY
public float getScriptNextY() -
setScriptNextY
public float setScriptNextY(float scriptny) -
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) - Parameters:
TimeSinceZombieAttack- the TimeSinceZombieAttack to set
-
isCollidedE
public boolean isCollidedE()- Returns:
- the collidedE
-
setCollidedE
public void setCollidedE(boolean collidedE) - Parameters:
collidedE- the collidedE to set
-
isCollidedN
public boolean isCollidedN()- Returns:
- the collidedN
-
setCollidedN
public void setCollidedN(boolean collidedN) - Parameters:
collidedN- the collidedN to set
-
getCollidedObject
- Returns:
- the CollidedObject
-
setCollidedObject
- Parameters:
CollidedObject- the CollidedObject to set
-
isCollidedS
public boolean isCollidedS()- Returns:
- the collidedS
-
setCollidedS
public void setCollidedS(boolean collidedS) - Parameters:
collidedS- the collidedS to set
-
isCollidedThisFrame
public boolean isCollidedThisFrame()- Returns:
- the collidedThisFrame
-
setCollidedThisFrame
public void setCollidedThisFrame(boolean collidedThisFrame) - Parameters:
collidedThisFrame- the collidedThisFrame to set
-
isCollidedW
public boolean isCollidedW()- Returns:
- the collidedW
-
setCollidedW
public void setCollidedW(boolean collidedW) - Parameters:
collidedW- the collidedW to set
-
isCollidedWithDoor
public boolean isCollidedWithDoor()- Returns:
- the CollidedWithDoor
-
setCollidedWithDoor
public void setCollidedWithDoor(boolean CollidedWithDoor) - Parameters:
CollidedWithDoor- the CollidedWithDoor to set
-
isCollidedWithVehicle
public boolean isCollidedWithVehicle() -
getCurrentSquare
- Returns:
- the current
-
getCurrentZone
-
setCurrent
- Parameters:
current- the current to set
-
setCurrentSquareFromPosition
public void setCurrentSquareFromPosition() -
setCurrentSquareFromPosition
public void setCurrentSquareFromPosition(float x1, float y1) -
setCurrentSquareFromPosition
public void setCurrentSquareFromPosition(float x1, float y1, float z1) -
isDestroyed
public boolean isDestroyed()- Specified by:
isDestroyedin interfaceThumpable- Overrides:
isDestroyedin classIsoObject- Returns:
- the destroyed
-
setDestroyed
public void setDestroyed(boolean destroyed) - Parameters:
destroyed- the destroyed to set
-
isFirstUpdate
public boolean isFirstUpdate()- Returns:
- the firstUpdate
-
setFirstUpdate
public void setFirstUpdate(boolean firstUpdate) - Parameters:
firstUpdate- the firstUpdate to set
-
getHitDir
- Returns:
- the hitDir
-
setHitDir
- Parameters:
hitDir- the hitDir to set
-
getImpulsex
public float getImpulsex()- Returns:
- the impulsex
-
setImpulsex
public void setImpulsex(float impulsex) - Parameters:
impulsex- the impulsex to set
-
getImpulsey
public float getImpulsey()- Returns:
- the impulsey
-
setImpulsey
public void setImpulsey(float impulsey) - Parameters:
impulsey- the impulsey to set
-
getLimpulsex
public float getLimpulsex()- Returns:
- the limpulsex
-
setLimpulsex
public void setLimpulsex(float limpulsex) - Parameters:
limpulsex- the limpulsex to set
-
getLimpulsey
public float getLimpulsey()- Returns:
- the limpulsey
-
setLimpulsey
public void setLimpulsey(float limpulsey) - Parameters:
limpulsey- the limpulsey to set
-
getHitForce
public float getHitForce()- Returns:
- the hitForce
-
setHitForce
public void setHitForce(float hitForce) - Parameters:
hitForce- the hitForce to set
-
getHitFromAngle
public float getHitFromAngle()- Returns:
- the hitFromAngle
-
setHitFromAngle
public void setHitFromAngle(float hitFromAngle) - Parameters:
hitFromAngle- the hitFromAngle to set
-
getLastSquare
- Returns:
- the last
-
setLast
- Parameters:
last- the last to set
-
getNoDamage
public boolean getNoDamage()- Returns:
- whether the object should take damage or not.
-
setNoDamage
public void setNoDamage(boolean dmg) - Parameters:
dmg- whether the object should take damage.
-
isSolid
public boolean isSolid()- Returns:
- the solid
-
setSolid
public void setSolid(boolean solid) - Parameters:
solid- the solid to set
-
getStateEventDelayTimer
public float getStateEventDelayTimer()- Returns:
- the StateEventDelayTimer
-
setStateEventDelayTimer
public void setStateEventDelayTimer(float StateEventDelayTimer) - Parameters:
StateEventDelayTimer- the StateEventDelayTimer to set
-
getWidth
public float getWidth()- Returns:
- the width
-
setWidth
public void setWidth(float width) - Parameters:
width- the width to set
-
isbAltCollide
public boolean isbAltCollide()- Returns:
- the bAltCollide
-
setbAltCollide
public void setbAltCollide(boolean altCollide) - Parameters:
altCollide- the bAltCollide to set
-
isShootable
public boolean isShootable()- Returns:
- the shootable
-
setShootable
public void setShootable(boolean shootable) - Parameters:
shootable- the shootable to set
-
getLastTargettedBy
- Returns:
- the lastTargettedBy
-
setLastTargettedBy
- Parameters:
lastTargettedBy- the lastTargettedBy to set
-
isCollidable
public boolean isCollidable()- Returns:
- the Collidable
-
setCollidable
public void setCollidable(boolean Collidable) - Parameters:
Collidable- the Collidable to set
-
getScriptnx
public float getScriptnx()- Returns:
- the scriptnx
-
setScriptnx
public void setScriptnx(float scriptnx) - Parameters:
scriptnx- the scriptnx to set
-
getScriptny
public float getScriptny()- Returns:
- the scriptny
-
setScriptny
public void setScriptny(float scriptny) - Parameters:
scriptny- the scriptny to set
-
getScriptModule
- Returns:
- the ScriptModule
-
setScriptModule
- Parameters:
ScriptModule- the ScriptModule to set
-
getMovementLastFrame
- Returns:
- the movementLastFrame
-
setMovementLastFrame
- Parameters:
movementLastFrame- the movementLastFrame to set
-
getFeelersize
public float getFeelersize()- Returns:
- the feelersize
-
setFeelersize
public void setFeelersize(float feelersize) - Parameters:
feelersize- the feelersize to set
-
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) -
isStanding
public final boolean isStanding() -
isProne
public boolean isProne() -
isGettingUp
public boolean isGettingUp() -
isCrawling
public boolean isCrawling() -
Despawn
public void Despawn() -
isCloseKilled
public boolean isCloseKilled() -
setCloseKilled
public void setCloseKilled(boolean closeKilled) -
getFacingPosition
- Overrides:
getFacingPositionin classIsoObject
-
isCollided
public boolean isCollided() -
getCollideType
-
setCollideType
-
getLastCollideTime
public float getLastCollideTime() -
setLastCollideTime
public void setLastCollideTime(float lastCollideTime) -
getEatingZombies
-
setEatingZombies
-
isEatingOther
-
getDistanceSq
-
isExistInTheWorld
public boolean isExistInTheWorld()- Overrides:
isExistInTheWorldin classIsoObject
-
shouldIgnoreCollisionWithSquare
-
getSurroundingThumpers
public int getSurroundingThumpers()
-