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
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class zombie.iso.IsoObject
IsoObject.IsoObjectFactory, IsoObject.OutlineShader, IsoObject.VisionResult -
Field Summary
FieldsFields inherited from class zombie.iso.IsoObject
alpha, AttachedAnimSprite, bAlphaForced, bmod, bNeverDoneAlpha, bSatChair, container, Damage, dir, doNotSync, emitter, fireColor, gmod, keyId, lastRendered, lastRenderedRendered, LowLightingQualityHack, MAX_WALL_SPLATS, name, NoPicking, offsetX, offsetY, OutlineOnMouseover, overlaySprite, overlaySpriteColor, partialThumpDmg, ppfBlink, ppfHighlighted, ppfHighlightRenderOnce, renderDepthAdjust, renderSquareOverride, renderSquareOverride2, rerouteCollide, rerouteMask, rmod, sheetRope, sheetRopeHealth, sprite, spriteName, square, sx, sy, table, tintb, tintg, tintr, wallBloodSplatsFields 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 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 string) 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 vector3f) getPosition(Vector2 vector) 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 _bAltCollide) 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 float1, float float2) voidsetCurrentSquareFromPosition(float float2, float float1, float float0) voidsetDestroyed(boolean _destroyed) voidsetEatingZombies(ArrayList<IsoZombie> zeds) voidsetFeelersize(float _feelersize) voidsetFirstUpdate(boolean _firstUpdate) voidsetForceX(float float0) voidsetForceY(float float0) 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 float0) floatsetLastY(float float0) floatsetLastZ(float float0) voidsetLimpulsex(float _limpulsex) voidsetLimpulsey(float _limpulsey) voidsetMovementLastFrame(Vector2 _movementLastFrame) voidfloatsetNextX(float float0) floatsetNextY(float float0) voidsetNoDamage(boolean dmg) voidsetOnFloor(boolean _bOnFloor) voidsetPathFindIndex(int _PathFindIndex) voidsetPosition(float float0, float float1) voidsetPosition(float float0, float float1, float float2) voidsetPosition(Vector2 vector) voidsetScriptModule(String _ScriptModule) floatsetScriptNextX(float float0) floatsetScriptNextY(float float0) 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 float0) floatsetY(float float0) floatsetZ(float float0) booleanvoidspotted(IsoMovingObject other, boolean bForced) toString()voidupdate()voidMethods inherited from class zombie.iso.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, 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, hasGridPower, hasModData, hasOverlaySprite, hasPropaneTank, 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, isNorthHoppable, isObjectNoContainerOrEmpty, isOnScreen, isOutlineHighlight, isOutlineHighlight, isOutlineHlAttached, isOutlineHlAttached, isOutlineHlBlink, isOutlineHlBlink, isOutlineOnMouseover, isPropaneBBQ, isRemoveItemAllowedFromContainer, isSatChair, isSceneCulled, isSpriteInvisible, isStairsNorth, isStairsObject, isStairsWest, isStump, isTableSurface, isTableTopObject, isTaintedWater, isTallHoppable, isTargetAlphaZero, isTent, isWall, isWallN, isWallW, isZombie, load, loadChange, loadFromRemoteBuffer, loadFromRemoteBuffer, loadState, moveFluidToTemporaryContainer, onAnimationFinished, onMouseLeftClick, 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, 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 zombie.entity.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, onEquip, onEquip, onFluidContainerUpdate, onUnEquip, removeFromWorld, renderlastComponents, requiresEntitySave, saveEntity, sendSyncEntity, setUsingPlayerMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface zombie.iso.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 vector3f) - Overrides:
getPositionin classIsoObject
-
getPosition
-
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:
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 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) - 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 float1, float float2) -
setCurrentSquareFromPosition
public void setCurrentSquareFromPosition(float float2, float float1, float float0) -
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 _bAltCollide) - Parameters:
_bAltCollide- 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()
-