Package zombie.iso.objects
Class IsoMolotovCocktail
java.lang.Object
zombie.iso.IsoObject
zombie.iso.IsoMovingObject
zombie.iso.IsoPhysicsObject
zombie.iso.objects.IsoMolotovCocktail
- All Implemented Interfaces:
java.io.Serializable
,Mover
public class IsoMolotovCocktail extends IsoPhysicsObject
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class zombie.iso.IsoMovingObject
IsoMovingObject.TreeSoundManager
Nested classes/interfaces inherited from class zombie.iso.IsoObject
IsoObject.VisionResult
-
Field Summary
Fields inherited from class zombie.iso.IsoPhysicsObject
speedMod, terminalVelocity, velX, velY, velZ
Fields inherited from class zombie.iso.IsoMovingObject
bx, by, Collidable, current, def, ExpectedChecksum, hitDir, ID, last, lx, ly, lz, movementLastFrame, movingSq, noDamage, nx, ny, reqMovement, ScriptModule, ScriptName, scriptnx, scriptny, shootable, solid, treeSoundMgr, weight, width, x, y, z
Fields inherited from class zombie.iso.IsoObject
alpha, alphaStep, AttachedAnimSprite, AttachedAnimSpriteActual, bmod, bNeverDoneAlpha, container, Damage, dir, emitter, externalWaterSource, gmod, highlighted, keyId, lastRendered, lastRenderedRendered, MAX_WALL_SPLATS, name, NoPicking, offsetX, offsetY, OutlineOnMouseover, overlaySprite, overlaySpriteColor, rerouteCollide, rerouteMask, rmod, sheetRope, sheetRopeHealth, sprite, spriteName, square, stCol, sx, sy, table, targetAlpha, tintb, tintg, tintr, usesExternalWaterSource, wallBloodSplats
-
Constructor Summary
Constructors Constructor Description IsoMolotovCocktail(IsoCell cell)
IsoMolotovCocktail(IsoCell cell, float x, float y, float z, float xvel, float yvel, HandWeapon weapon, IsoGameCharacter character)
-
Method Summary
Modifier and Type Method Description void
collideCharacter()
void
collideGround()
void
collideWall()
java.lang.String
getObjectName()
void
render(float x, float y, float z, ColorInfo info, boolean bDoAttached)
void
update()
Methods inherited from class zombie.iso.IsoMovingObject
collideWith, compareToY, Despawn, DistTo, DistTo, DistToProper, DistToSquared, DistToSquared, DoCollideNorS, DoCollideWorE, doStairs, ensureOnTile, getActiveInInstances, getAllowBehaviours, getBuilding, getCollidedObject, getCurrentSquare, getCurrentZone, getFacingPosition, getFeelersize, getFeelerTile, getFuturWalkedSquare, getGlobalMovementMod, getGlobalMovementMod, getHitDir, getHitForce, getHitFromAngle, getID, getIDCount, getImpulsex, getImpulsey, getLastSquare, getLastTargettedBy, getLimpulsex, getLimpulsey, getLx, getLy, getLz, getMovementLastFrame, getNx, getNy, getPathFindIndex, getScreenX, getScreenY, getScriptModule, getScriptName, getScriptnx, getScriptny, getSquare, getStateEventDelayTimer, getTempo, getThumpTarget, getTimeSinceZombieAttack, getVectorFromDirection, getWeight, getWeight, getWidth, getX, getY, getZ, Hit, isAllowBehaviours, isbAltCollide, isCharacter, isCloseKilled, isCollidable, isCollidedE, isCollidedN, isCollidedS, isCollidedThisFrame, isCollidedW, isCollidedWithDoor, isDestroyed, isFirstUpdate, isOnFloor, isShootable, isSolid, load, Move, onMouseRightClick, onMouseRightReleased, postupdate, preupdate, removeFromSquare, removeFromWorld, renderlast, save, seperate, setActiveInInstances, setAllowBehaviours, setbAltCollide, setBlendSpeed, setCloseKilled, setCollidable, setCollidedE, setCollidedN, setCollidedObject, setCollidedS, setCollidedThisFrame, setCollidedW, setCollidedWithDoor, setCurrent, setDestroyed, setFeelersize, setFirstUpdate, setHitDir, setHitForce, setHitFromAngle, setID, setIDCount, setImpulsex, setImpulsey, setLast, setLastTargettedBy, setLimpulsex, setLimpulsey, setLx, setLy, setLz, setMovementLastFrame, setNx, setNy, setOnFloor, setPathFindIndex, setScriptModule, setScriptName, setScriptnx, setScriptny, setShootable, setSolid, setStateEventDelayTimer, setTempo, setThumpTarget, setTimeSinceZombieAttack, setWeight, setWidth, setX, setY, setZ, spotted
Methods inherited from class zombie.iso.IsoObject
addChild, addSecondaryContainer, addToWorld, AttachAnim, AttachExistingAnim, AttachExistingAnim, AttackObject, checkHaveElectricity, createChecksum, createContainersFromSpriteProperties, debugPrintout, DirtySlice, DoChecksumCheck, DoChecksumCheck, doFindExternalWaterSource, DoSpecialTooltip, DoTooltip, factoryClassFromFileInput, factoryFromFileInput, factoryFromFileInput, FindExternalWaterSource, getAlpha, getAlphaStep, getAttachedAnimSprite, getCell, getChildSprites, getContainer, getContainerByEitherType, getContainerByIndex, getContainerByType, getContainerCount, getContainerIndex, getCustomColor, getDamage, getDir, getFacingPositionAlt, getHighlightColor, getIsSurfaceNormalOffset, getItemContainer, getKeyId, getLastRendered, getLastRenderedRendered, getMaskClickedY, getMD5Checksum, getModData, getName, getNew, getObjectIndex, getOffsetX, getOffsetY, getOverlaySprite, getOverlaySpriteColor, getProperties, getRenderYOffset, getRerouteCollide, getRerouteMask, getRerouteMaskObject, getSpecialObjectIndex, getSprite, getSpriteName, getStaticMovingObjectIndex, getSurfaceNormalOffset, getSurfaceOffset, getTable, getTargetAlpha, getTextureName, getTile, getType, getUsesExternalWaterSource, getWaterAmount, getWorldObjectIndex, hasExternalWaterSource, hasModData, HasTooltip, hasWater, haveSpecialTooltip, isBlink, isMaskClicked, isMaskClicked, isNoPicking, isOutlineOnMouseover, isTableSurface, isTableTopObject, isZombie, loadChange, loadFromRemoteBuffer, loadFromRemoteBuffer, onMouseLeftClick, removeAllContainers, RemoveAttachedAnim, RemoveAttachedAnims, render, renderObjectPicker, replaceItem, reset, reuseGridSquare, saveChange, sendObjectChange, sendObjectChange, sendObjectChange, Serialize, setAlpha, setAlphaStep, setAttachedAnimSprite, setBlink, setChildSprites, setContainer, setCustomColor, setCustomColor, setDamage, setDefaultCondition, setDir, setDir, setHighlightColor, setHighlighted, setKeyId, setLastRendered, setLastRenderedRendered, setName, SetName, setNoPicking, setOffsetX, setOffsetY, setOutlineOnMouseover, setOverlaySprite, setOverlaySprite, setOverlaySprite, setOverlaySpriteColor, setRenderYOffset, setRerouteCollide, setRerouteMask, setSpecialTooltip, setSprite, setSprite, setSpriteFromName, setSquare, setTable, setTargetAlpha, setType, setUsesExternalWaterSource, setWaterAmount, syncIsoObject, syncIsoObjectSend, TestCollide, TestPathfindCollide, TestVision, transmitCompleteItemToClients, transmitCompleteItemToServer, transmitCustomColor, transmitModData, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToClients, transmitUpdatedSpriteToServer, useItemOn, useWater, writeToRemoteBuffer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
IsoMolotovCocktail
-
IsoMolotovCocktail
public IsoMolotovCocktail(IsoCell cell, float x, float y, float z, float xvel, float yvel, HandWeapon weapon, IsoGameCharacter character)
-
-
Method Details
-
getObjectName
public java.lang.String getObjectName()- Overrides:
getObjectName
in classIsoMovingObject
-
collideCharacter
public void collideCharacter()- Overrides:
collideCharacter
in classIsoMovingObject
-
collideGround
public void collideGround()- Overrides:
collideGround
in classIsoPhysicsObject
-
collideWall
public void collideWall()- Overrides:
collideWall
in classIsoPhysicsObject
-
update
public void update()- Overrides:
update
in classIsoPhysicsObject
-
render
-