zombie.characters
Class IsoPlayer
java.lang.Object
zombie.iso.IsoObject
zombie.iso.IsoMovingObject
zombie.characters.IsoGameCharacter
zombie.characters.IsoLivingCharacter
zombie.characters.IsoPlayer
- All Implemented Interfaces:
- java.io.Serializable, Mover, Talker
public class IsoPlayer
- extends IsoLivingCharacter
- Author:
- LEMMY
- See Also:
- Serialized Form
Fields inherited from class zombie.characters.IsoGameCharacter |
angle, Asleep, AttackDelayLast, bFemale, bottomsSprite, callOut, DropShadow, extraSprites, hairSprite, headSprite, IgnoreMovementForDirection, knockbackAttackMod, legsSprite, PathDelay, shoeSprite, StateMachineParams, topSprite, torsoSprite |
Fields inherited from class zombie.iso.IsoObject |
alpha, alphaStep, AttachedAnimSprite, AttachedAnimSpriteActual, container, Damage, dir, lastRendered, lastRenderedRendered, name, NoPicking, offsetX, offsetY, OutlineOnMouseover, rerouteCollide, rerouteMask, sprite, square, stCol, table, targetAlpha, tintb, tintg, tintr |
Methods inherited from class zombie.characters.IsoGameCharacter |
Anger, ApplyInBedOffset, BetaAntiDepress, BetaBlockers, Callout, CanAttack, CanSee, changeState, climbDownSheetRope, climbSheetRope, climbThroughWindow, climbThroughWindow, climbThroughWindow, DirectionFromVector, DirectionFromVectorNoDiags, DoCharacterPart, DoDeath, DoDeath, DoFloorSplat, DoFootstepSound, DoZombiePart, DoZombiePart, drawAt, DrawSneezeText, Dressup, Dressup, dripBloodFloor, Eat, exert, faceDirection, FaceNextPathNode, FaceNextPathNode, FireCheck, getAge, getAngle, getAttackDelay, getAttackDelayMax, getAttackDelayUse, getAttackedBy, getAttackTargetSquare, getBarricadeStrengthMod, getBarricadeTimeMod, getBetaDelta, getBetaEffect, getBloodImpactX, getBloodImpactY, getBloodImpactZ, getBloodSplat, getBodyDamage, getBottomsSprite, getCanUpgradePerk, getChair, getCharacterActions, getClothingItem_Feet, getClothingItem_Hands, getClothingItem_Head, getClothingItem_Legs, getClothingItem_Torso, getCraftingByIndex, getCraftIngredient1, getCraftIngredient2, getCraftIngredient3, getCraftIngredient4, getCurrentBuilding, getCurrentState, getDangerLevels, getDefaultState, getDepressDelta, getDepressEffect, getDescriptor, getDieCount, getEnemyList, getExtraSprites, getFallTime, getFamiliarBuildings, getFatigueMod, getFinder, getFireKillRate, getFireSpreadProbability, getFollowingTarget, getFootStepCounter, getFootStepCounterMax, getForceWakeUpTime, getHairSprite, getHammerSoundMod, getHeadSprite, getHealth, getHitBy, getHitChancesMod, getHittingMod, getHurtSound, getHyperthermiaMod, getInf, getInventory, getLastdir, getLastFallSpeed, getLastHeardSound, getLastHitCount, getLastKnownLocation, getLastKnownLocationOf, getLastLocalEnemies, getLastZombieKills, getLeaveBodyTimedown, getLegsSprite, getLevelMaxForXp, getLevelUpLevels, getLevelUpLevels, getLevelUpMultiplier, getLightfootMod, getLlx, getLly, getLlz, getLocalEnemyList, getLocalGroupList, getLocalList, getLocalNeutralList, getLocalRelevantEnemyList, getLowDangerInVicinity, getLrx, getLry, getMasterBehaviorList, getMasterProper, getMaxWeight, getMaxWeightBase, getMeetList, getMoodles, getMoveForwardVec, getNextWander, getNimbleMod, getNumberOfPerksToPick, getNumSurvivorsInVicinity, getOrder, getOrders, getPacingMod, getPainDelta, getPainEffect, getPath, getPathIndex, getPathTargetX, getPathTargetY, getPathTargetZ, getPatience, getPatienceMax, getPatienceMin, getPerkInfo, getPerkLevel, getPerkList, getPersonality, getPersonalNeed, getPersonalNeeds, getPrimaryHandItem, getPrimaryHandType, getReanimAnimDelay, getReanimAnimFrame, getReanimateTimer, getReanimPhase, getRecoveryMod, getRemoteID, getSayLine, getSecondaryHandItem, getSecondaryHandType, getShoeSprite, getShovingMod, getSleepingTabletDelta, getSleepingTabletEffect, getSlowFactor, getSlowTimer, getSneakSpotMod, getSpeakColour, getSpeakTime, getSpeedMod, getSprintMod, getSpriteDef, getStaggerTimeMod, getStateMachine, getStats, getSurvivorKills, getSurvivorMap, getTagGroup, getTalkerType, getTempo, getTestPlayerSpotInDarkness, getThreatLevel, getTimeThumping, getTimeTillForgetLocation, getTopSprite, getTorsoSprite, getTraits, getUsedItemsOn, getUseHandWeapon, getVeryCloseEnemyList, getWeightMod, getWounds, getXp, getZombieKills, GiveOrder, GivePersonalNeed, hasEquipped, HasItem, hasItems, HasTrait, Hit, InBuildingWith, inflictWound, InitSpriteParts, initSpritePartsEmpty, InitSpritePartsZombie, InRoomWith, isAllowConversation, IsArmed, isAsleep, IsAttackRange, IsAttackRange, isAttackWasSuperAttack, isbDoDefer, isbFalling, isbOnBed, isbUseParts, isClimbing, isDead, isFemale, isIgnoreMovementForDirection, isIgnoreStaggerBack, IsInBuilding, isLastCollidedN, isLastCollidedW, isMaskClicked, isOnFire, isPathing, isPrimaryEquipped, isReanim, isSat, isSpeaking, IsSpeaking, isSpottedSinceAlphaZero, isSuperAttack, isVisibleToNPCs, Kill, level0, LevelPerk, LevelPerk, LevelUp, LoseLevel, MoveForward, MoveForward, OnDeath, onMouseLeftClick, openWindow, PainMeds, PathTo, PathTo, PlayAnim, PlayAnimFrame, PlayAnimNoReset, PlayAnimUnlooped, PlayAnimWithSpeed, PlayShootAnim, QueueAction, ReadLiterature, ReduceHealthWhenBurning, render, renderlast, renderObjectPicker, rendertalk, satOnChair, Say, Seen, setAge, setAllowConversation, setAngle, SetAnim, setAsleep, setAttackDelay, setAttackDelayMax, setAttackDelayUse, setAttackedBy, setAttackTargetSquare, setAttackWasSuperAttack, setbClimbing, setbDoDefer, setBetaDelta, setBetaEffect, setbFalling, setBloodImpactX, setBloodImpactY, setBloodImpactZ, setBloodSplat, setBodyDamage, setbOnBed, setBottomsSprite, setbUseParts, setCanUpgradePerk, setChair, setCharacterActions, SetClothing, setClothingItem_Feet, setClothingItem_Hands, setClothingItem_Head, setClothingItem_Legs, setClothingItem_Torso, setCraftingByIndex, setCraftIngredient1, setCraftIngredient2, setCraftIngredient3, setCraftIngredient4, setDangerLevels, setDefaultState, setDefaultState, setDepressDelta, setDepressEffect, setDescriptor, setDieCount, setDir, setEnemyList, setFallTime, setFamiliarBuildings, setFemale, setFinder, setFireKillRate, setFireSpreadProbability, setFollowingTarget, setFootStepCounter, setFootStepCounterMax, setForceWakeUpTime, setHairSprite, setHeadSprite, setHealth, setHitBy, setHurtSound, setIgnoreMovementForDirection, setIgnoreStaggerBack, setInf, setInventory, setLastCollidedN, setLastCollidedW, setLastdir, setLastFallSpeed, setLastHeardSound, setLastHitCount, setLastKnownLocation, setLastLocalEnemies, setLastZombieKills, setLeaveBodyTimedown, setLegsSprite, setLevelUpLevels, setLevelUpMultiplier, setLlx, setLly, setLlz, setLocalEnemyList, setLocalGroupList, setLocalList, setLocalNeutralList, setLocalRelevantEnemyList, setLockStates, setLrx, setLry, setMasterBehaviorList, setMasterProper, setMaxWeight, setMaxWeightBase, setMeetList, setMoodles, setMoveForwardVec, setNextWander, setNumberOfPerksToPick, setNumSurvivorsInVicinity, SetOnFire, setOnFire, setOrder, setOrders, setPainDelta, setPainEffect, setPath, setPathIndex, setPathing, setPathSpeed, setPathTargetX, setPathTargetY, setPathTargetZ, setPatience, setPatienceMax, setPatienceMin, setPerkList, setPersonality, setPersonalNeed, setPersonalNeeds, setPrimaryHandItem, setReanim, setReanimAnimDelay, setReanimAnimFrame, setReanimateTimer, setReanimPhase, setRemoteID, setSat, setSayLine, setSecondaryHandItem, setShoeSprite, setSleepingTabletDelta, setSleepingTabletEffect, setSlowFactor, setSlowTimer, setSpeakColour, setSpeaking, setSpeakTime, setSpeedMod, setSpottedSinceAlphaZero, setStaggerTimeMod, setStateMachine, setStats, setSuperAttack, setSurvivorKills, setSurvivorMap, setTagGroup, setTempo, setTestPlayerSpotInDarkness, setTimeThumping, setTimeTillForgetLocation, setTopSprite, setTorsoSprite, setTraits, setUsedItemsOn, setUseHandWeapon, setVeryCloseEnemyList, setVisibleToNPCs, setWounds, setXp, setZombieKills, SleepingTablet, smashWindow, splatBlood, splatBloodFloor, splatBloodFloorBig, SpreadFire, StartAction, StopAllActionQueue, StopAllActionQueueRunning, StopAllActionQueueWalking, Throw |
Methods inherited from class zombie.iso.IsoMovingObject |
collideCharacter, compareToY, Despawn, DistTo, DistTo, DistToProper, DoCollideNorS, DoCollideWorE, doStairs, ensureOnTile, getActiveInInstances, getAllowBehaviours, getBuilding, getCollidedObject, getCurrentSquare, 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, getSeeValue, getSquare, getStateEventDelayTimer, getThumpTarget, getTimeSinceZombieAttack, getVectorFromDirection, getWeight, getWeight, getWidth, getX, getY, getZ, isAllowBehaviours, isbAltCollide, isCharacter, isCollidable, isCollidedE, isCollidedN, isCollidedS, isCollidedThisFrame, isCollidedW, isCollidedWithDoor, isDestroyed, isFirstUpdate, isOnFloor, isShootable, isSolid, Move, onMouseRightClick, onMouseRightReleased, postupdate, preupdate, seperate, setActiveInInstances, setAllowBehaviours, setbAltCollide, 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, setThumpTarget, setTimeSinceZombieAttack, setWeight, setWidth, setX, setY, setZ, spotted |
Methods inherited from class zombie.iso.IsoObject |
addChild, AttachAnim, AttachExistingAnim, AttachExistingAnim, AttackObject, DirtySlice, DoTooltip, factoryClassFromFileInput, factoryFromFileInput, factoryFromFileInput, getAlpha, getAlphaStep, getAttachedAnimSprite, getChildSprites, getContainer, getDamage, getDir, getItemContainer, getLastRendered, getLastRenderedRendered, getMaskClickedY, getModData, getName, getOffsetX, getOffsetY, getProperties, getRerouteCollide, getRerouteMask, getRerouteMaskObject, getSprite, getTable, getTargetAlpha, getTextureName, getType, HasTooltip, hasWater, isMaskClicked, isNoPicking, isOutlineOnMouseover, isZombie, RemoveAttachedAnims, replaceItem, reset, Serialize, setAlpha, setAlphaStep, setAttachedAnimSprite, setChildSprites, setContainer, setDamage, setDefaultCondition, setDir, setLastRendered, setLastRenderedRendered, setName, SetName, setNoPicking, setOffsetX, setOffsetY, setOutlineOnMouseover, setRerouteCollide, setRerouteMask, setSprite, setSquare, setTable, setTargetAlpha, setType, TestCollide, TestPathfindCollide, TestVision, useItemOn, useWater |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoSound
public static final boolean NoSound
- See Also:
- Constant Field Values
MAX
public static final int MAX
- See Also:
- Constant Field Values
closestZombie
public float closestZombie
GhostMode
public static boolean GhostMode
instance
public static IsoPlayer instance
lastAngle
public Vector2 lastAngle
maxWeightDelta
public float maxWeightDelta
TargetSpeed
public float TargetSpeed
CurrentSpeed
public float CurrentSpeed
MaxSpeed
public float MaxSpeed
SpeedChange
public float SpeedChange
isCharging
public boolean isCharging
bRightClickMove
public boolean bRightClickMove
DemoMode
public static boolean DemoMode
TimeSprinting
public int TimeSprinting
TimeSinceRightClick
public int TimeSinceRightClick
TimeRightClicking
public int TimeRightClicking
LastTimeRightClicking
public int LastTimeRightClicking
JustMoved
public boolean JustMoved
bDoubleClick
public boolean bDoubleClick
AimRadius
public float AimRadius
DesiredAimRadius
public float DesiredAimRadius
bBannedAttacking
public boolean bBannedAttacking
EffectiveAimDistance
public float EffectiveAimDistance
timePressedContext
public float timePressedContext
chargeTime
public float chargeTime
useChargeTime
public float useChargeTime
bPressContext
public boolean bPressContext
ContextPanic
public float ContextPanic
AContext
public IsoPlayer.Context AContext
XContext
public IsoPlayer.Context XContext
BContext
public IsoPlayer.Context BContext
YContext
public IsoPlayer.Context YContext
players
public static IsoPlayer[] players
JoypadBind
public int JoypadBind
useChargeDelta
public float useChargeDelta
DebounceA
public boolean DebounceA
OhFuckMoment
public int OhFuckMoment
LastOhFuckMoment
public double LastOhFuckMoment
PlayerIndex
public int PlayerIndex
assumedPlayer
public static int assumedPlayer
numPlayers
public static int numPlayers
bJoypadMovementActive
public boolean bJoypadMovementActive
IsoPlayer
public IsoPlayer(IsoCell cell)
IsoPlayer
public IsoPlayer(IsoCell cell,
SurvivorDesc desc,
int x,
int y,
int z)
createChecksum
public static byte[] createChecksum(java.lang.String filename)
throws java.lang.Exception
- Throws:
java.lang.Exception
getMD5Checksum
public static java.lang.String getMD5Checksum(java.lang.String filename)
throws java.lang.Exception
- Throws:
java.lang.Exception
TestZombieSpotPlayer
public void TestZombieSpotPlayer(Vector2 vecA,
IsoMovingObject chr)
getPathSpeed
public float getPathSpeed()
- Overrides:
getPathSpeed
in class IsoGameCharacter
- Returns:
- the PathSpeed
DoChecksumCheck
public static boolean DoChecksumCheck(java.lang.String str,
java.lang.String expected)
DoChecksumCheck
public static boolean DoChecksumCheck()
isGhostMode
public static boolean isGhostMode()
- Returns:
- the GhostMode
setGhostMode
public static void setGhostMode(boolean aGhostMode)
- Parameters:
aGhostMode
- the GhostMode to set
getInstance
public static IsoPlayer getInstance()
- Returns:
- the instance
setInstance
public static void setInstance(IsoPlayer aInstance)
- Parameters:
aInstance
- the instance to set
getPlayerMoveDir
public static Vector2 getPlayerMoveDir()
- Returns:
- the playerMoveDir
setPlayerMoveDir
public static void setPlayerMoveDir(Vector2 aPlayerMoveDir)
- Parameters:
aPlayerMoveDir
- the playerMoveDir to set
isIsAiming
public static boolean isIsAiming()
- Returns:
- the isAiming
setIsAiming
public static void setIsAiming(boolean aIsAiming)
- Parameters:
aIsAiming
- the isAiming to set
nullifyAiming
public void nullifyAiming()
getStaticTraits
public static java.util.Stack<java.lang.String> getStaticTraits()
- Returns:
- the StaticTraits
setStaticTraits
public static void setStaticTraits(java.util.Stack<java.lang.String> aStaticTraits)
- Parameters:
aStaticTraits
- the StaticTraits to set
getFollowDeadCount
public static int getFollowDeadCount()
- Returns:
- the FollowDeadCount
setFollowDeadCount
public static void setFollowDeadCount(int aFollowDeadCount)
- Parameters:
aFollowDeadCount
- the FollowDeadCount to set
IsSneaking
public boolean IsSneaking()
- Overrides:
IsSneaking
in class IsoGameCharacter
load
public void load(java.nio.ByteBuffer input)
throws java.io.IOException
- Overrides:
load
in class IsoGameCharacter
- Throws:
java.io.IOException
save
public void save(java.nio.ByteBuffer output)
throws java.io.IOException
- Overrides:
save
in class IsoGameCharacter
- Throws:
java.io.IOException
getObjectName
public java.lang.String getObjectName()
- Overrides:
getObjectName
in class IsoMovingObject
collideWith
public void collideWith(IsoObject obj)
- Overrides:
collideWith
in class IsoMovingObject
getJoypadBind
public int getJoypadBind()
isLTPressed
public boolean isLTPressed()
getControllerAimDir
public Vector2 getControllerAimDir(Vector2 vec)
getInteract
public IsoObject getInteract()
getMoveSpeed
public float getMoveSpeed()
- Overrides:
getMoveSpeed
in class IsoGameCharacter
setMoveSpeed
public void setMoveSpeed(float moveSpeed)
getTorchStrength
public float getTorchStrength()
pathFinished
public void pathFinished()
- Overrides:
pathFinished
in class IsoGameCharacter
Scratched
public void Scratched()
- Overrides:
Scratched
in class IsoGameCharacter
Bitten
public void Bitten()
- Overrides:
Bitten
in class IsoGameCharacter
getRadiusKickback
public float getRadiusKickback(HandWeapon weapon)
getChancesToHeadshotHandWeapon
public int getChancesToHeadshotHandWeapon()
getInvAimingMod
public float getInvAimingMod()
getAimingMod
public float getAimingMod()
getReloadingMod
public float getReloadingMod()
getAimingRangeMod
public float getAimingRangeMod()
isBannedAttacking
public boolean isBannedAttacking()
setBannedAttacking
public void setBannedAttacking(boolean b)
getInvAimingRangeMod
public float getInvAimingRangeMod()
CalculateAim
public void CalculateAim()
render
public void render()
update
public void update()
- Overrides:
update
in class IsoGameCharacter
getCell
public IsoCell getCell()
- Overrides:
getCell
in class IsoObject
- Returns:
- the cell
calculateContext
public void calculateContext()
hopFence
public boolean hopFence(IsoDirections dir,
boolean bTest)
AttemptAttack
public boolean AttemptAttack()
DoAttack
public boolean DoAttack(float chargeDelta)
- Overrides:
DoAttack
in class IsoLivingCharacter
getPlayerNum
public int getPlayerNum()
updateLOS
public void updateLOS()
saveGame
public void saveGame()
getAngleCounter
public int getAngleCounter()
- Returns:
- the angleCounter
setAngleCounter
public void setAngleCounter(int angleCounter)
- Parameters:
angleCounter
- the angleCounter to set
getLastAngle
public Vector2 getLastAngle()
- Returns:
- the lastAngle
setLastAngle
public void setLastAngle(Vector2 lastAngle)
- Parameters:
lastAngle
- the lastAngle to set
getDialogMood
public int getDialogMood()
- Returns:
- the DialogMood
setDialogMood
public void setDialogMood(int DialogMood)
- Parameters:
DialogMood
- the DialogMood to set
getPing
public int getPing()
- Returns:
- the ping
setPing
public void setPing(int ping)
- Parameters:
ping
- the ping to set
isFakeAttack
public boolean isFakeAttack()
- Returns:
- the FakeAttack
setFakeAttack
public void setFakeAttack(boolean FakeAttack)
- Parameters:
FakeAttack
- the FakeAttack to set
getFakeAttackTarget
public IsoObject getFakeAttackTarget()
- Returns:
- the FakeAttackTarget
setFakeAttackTarget
public void setFakeAttackTarget(IsoObject FakeAttackTarget)
- Parameters:
FakeAttackTarget
- the FakeAttackTarget to set
getDragObject
public IsoMovingObject getDragObject()
- Returns:
- the DragObject
setDragObject
public void setDragObject(IsoMovingObject DragObject)
- Parameters:
DragObject
- the DragObject to set
getAsleepTime
public float getAsleepTime()
- Returns:
- the AsleepTime
setAsleepTime
public void setAsleepTime(float AsleepTime)
- Parameters:
AsleepTime
- the AsleepTime to set
getMainHot
public java.lang.String[] getMainHot()
- Returns:
- the MainHot
setMainHot
public void setMainHot(java.lang.String[] MainHot)
- Parameters:
MainHot
- the MainHot to set
getSecHot
public java.lang.String[] getSecHot()
- Returns:
- the SecHot
setSecHot
public void setSecHot(java.lang.String[] SecHot)
- Parameters:
SecHot
- the SecHot to set
getSpottedList
public java.util.Stack<IsoMovingObject> getSpottedList()
- Returns:
- the spottedList
setSpottedList
public void setSpottedList(java.util.Stack<IsoMovingObject> spottedList)
- Parameters:
spottedList
- the spottedList to set
getTicksSinceSeenZombie
public int getTicksSinceSeenZombie()
- Returns:
- the TicksSinceSeenZombie
setTicksSinceSeenZombie
public void setTicksSinceSeenZombie(int TicksSinceSeenZombie)
- Parameters:
TicksSinceSeenZombie
- the TicksSinceSeenZombie to set
isWaiting
public boolean isWaiting()
- Returns:
- the Waiting
setWaiting
public void setWaiting(boolean Waiting)
- Parameters:
Waiting
- the Waiting to set
getDragCharacter
public IsoSurvivor getDragCharacter()
- Returns:
- the DragCharacter
setDragCharacter
public void setDragCharacter(IsoSurvivor DragCharacter)
- Parameters:
DragCharacter
- the DragCharacter to set
getLastPos
public java.util.Stack<Vector2> getLastPos()
- Returns:
- the lastPos
setLastPos
public void setLastPos(java.util.Stack<Vector2> lastPos)
- Parameters:
lastPos
- the lastPos to set
isbDebounceLMB
public boolean isbDebounceLMB()
- Returns:
- the bDebounceLMB
setbDebounceLMB
public void setbDebounceLMB(boolean bDebounceLMB)
- Parameters:
bDebounceLMB
- the bDebounceLMB to set
getHeartDelay
public float getHeartDelay()
- Returns:
- the heartDelay
setHeartDelay
public void setHeartDelay(float heartDelay)
- Parameters:
heartDelay
- the heartDelay to set
getHeartDelayMax
public float getHeartDelayMax()
- Returns:
- the heartDelayMax
setHeartDelayMax
public void setHeartDelayMax(int heartDelayMax)
- Parameters:
heartDelayMax
- the heartDelayMax to set
getDrunkOscilatorStepSin
public float getDrunkOscilatorStepSin()
- Returns:
- the DrunkOscilatorStepSin
setDrunkOscilatorStepSin
public void setDrunkOscilatorStepSin(float DrunkOscilatorStepSin)
- Parameters:
DrunkOscilatorStepSin
- the DrunkOscilatorStepSin to set
getDrunkOscilatorRateSin
public float getDrunkOscilatorRateSin()
- Returns:
- the DrunkOscilatorRateSin
setDrunkOscilatorRateSin
public void setDrunkOscilatorRateSin(float DrunkOscilatorRateSin)
- Parameters:
DrunkOscilatorRateSin
- the DrunkOscilatorRateSin to set
getDrunkOscilatorStepCos
public float getDrunkOscilatorStepCos()
- Returns:
- the DrunkOscilatorStepCos
setDrunkOscilatorStepCos
public void setDrunkOscilatorStepCos(float DrunkOscilatorStepCos)
- Parameters:
DrunkOscilatorStepCos
- the DrunkOscilatorStepCos to set
getDrunkOscilatorRateCos
public float getDrunkOscilatorRateCos()
- Returns:
- the DrunkOscilatorRateCos
setDrunkOscilatorRateCos
public void setDrunkOscilatorRateCos(float DrunkOscilatorRateCos)
- Parameters:
DrunkOscilatorRateCos
- the DrunkOscilatorRateCos to set
getDrunkOscilatorStepCos2
public float getDrunkOscilatorStepCos2()
- Returns:
- the DrunkOscilatorStepCos2
setDrunkOscilatorStepCos2
public void setDrunkOscilatorStepCos2(float DrunkOscilatorStepCos2)
- Parameters:
DrunkOscilatorStepCos2
- the DrunkOscilatorStepCos2 to set
getDrunkOscilatorRateCos2
public float getDrunkOscilatorRateCos2()
- Returns:
- the DrunkOscilatorRateCos2
setDrunkOscilatorRateCos2
public void setDrunkOscilatorRateCos2(float DrunkOscilatorRateCos2)
- Parameters:
DrunkOscilatorRateCos2
- the DrunkOscilatorRateCos2 to set
getDrunkSin
public float getDrunkSin()
- Returns:
- the DrunkSin
setDrunkSin
public void setDrunkSin(float DrunkSin)
- Parameters:
DrunkSin
- the DrunkSin to set
getDrunkCos
public float getDrunkCos()
- Returns:
- the DrunkCos
setDrunkCos
public void setDrunkCos(float DrunkCos)
- Parameters:
DrunkCos
- the DrunkCos to set
getDrunkCos2
public float getDrunkCos2()
- Returns:
- the DrunkCos2
setDrunkCos2
public void setDrunkCos2(float DrunkCos2)
- Parameters:
DrunkCos2
- the DrunkCos2 to set
getMinOscilatorRate
public float getMinOscilatorRate()
- Returns:
- the MinOscilatorRate
setMinOscilatorRate
public void setMinOscilatorRate(float MinOscilatorRate)
- Parameters:
MinOscilatorRate
- the MinOscilatorRate to set
getMaxOscilatorRate
public float getMaxOscilatorRate()
- Returns:
- the MaxOscilatorRate
setMaxOscilatorRate
public void setMaxOscilatorRate(float MaxOscilatorRate)
- Parameters:
MaxOscilatorRate
- the MaxOscilatorRate to set
getDesiredSinRate
public float getDesiredSinRate()
- Returns:
- the DesiredSinRate
setDesiredSinRate
public void setDesiredSinRate(float DesiredSinRate)
- Parameters:
DesiredSinRate
- the DesiredSinRate to set
getDesiredCosRate
public float getDesiredCosRate()
- Returns:
- the DesiredCosRate
setDesiredCosRate
public void setDesiredCosRate(float DesiredCosRate)
- Parameters:
DesiredCosRate
- the DesiredCosRate to set
getOscilatorChangeRate
public float getOscilatorChangeRate()
- Returns:
- the OscilatorChangeRate
setOscilatorChangeRate
public void setOscilatorChangeRate(float OscilatorChangeRate)
- Parameters:
OscilatorChangeRate
- the OscilatorChangeRate to set
getMaxWeightDelta
public float getMaxWeightDelta()
- Returns:
- the maxWeightDelta
setMaxWeightDelta
public void setMaxWeightDelta(float maxWeightDelta)
- Parameters:
maxWeightDelta
- the maxWeightDelta to set
getForname
public java.lang.String getForname()
- Returns:
- the Forname
setForname
public void setForname(java.lang.String Forname)
- Parameters:
Forname
- the Forname to set
getSurname
public java.lang.String getSurname()
- Returns:
- the Surname
setSurname
public void setSurname(java.lang.String Surname)
- Parameters:
Surname
- the Surname to set
getGuardModeUISprite
public IsoSprite getGuardModeUISprite()
- Returns:
- the GuardModeUISprite
setGuardModeUISprite
public void setGuardModeUISprite(IsoSprite GuardModeUISprite)
- Parameters:
GuardModeUISprite
- the GuardModeUISprite to set
getGuardModeUI
public int getGuardModeUI()
- Returns:
- the GuardModeUI
setGuardModeUI
public void setGuardModeUI(int GuardModeUI)
- Parameters:
GuardModeUI
- the GuardModeUI to set
getGuardChosen
public IsoSurvivor getGuardChosen()
- Returns:
- the GuardChosen
setGuardChosen
public void setGuardChosen(IsoSurvivor GuardChosen)
- Parameters:
GuardChosen
- the GuardChosen to set
getGuardStand
public IsoGridSquare getGuardStand()
- Returns:
- the GuardStand
setGuardStand
public void setGuardStand(IsoGridSquare GuardStand)
- Parameters:
GuardStand
- the GuardStand to set
getGuardFace
public IsoGridSquare getGuardFace()
- Returns:
- the GuardFace
setGuardFace
public void setGuardFace(IsoGridSquare GuardFace)
- Parameters:
GuardFace
- the GuardFace to set
isbSneaking
public boolean isbSneaking()
- Returns:
- the bSneaking
setbSneaking
public void setbSneaking(boolean bSneaking)
- Parameters:
bSneaking
- the bSneaking to set
isbChangeCharacterDebounce
public boolean isbChangeCharacterDebounce()
- Returns:
- the bChangeCharacterDebounce
setbChangeCharacterDebounce
public void setbChangeCharacterDebounce(boolean bChangeCharacterDebounce)
- Parameters:
bChangeCharacterDebounce
- the bChangeCharacterDebounce to set
getFollowID
public int getFollowID()
- Returns:
- the followID
setFollowID
public void setFollowID(int followID)
- Parameters:
followID
- the followID to set
isbSeenThisFrame
public boolean isbSeenThisFrame()
- Returns:
- the bSeenThisFrame
setbSeenThisFrame
public void setbSeenThisFrame(boolean bSeenThisFrame)
- Parameters:
bSeenThisFrame
- the bSeenThisFrame to set
isbCouldBeSeenThisFrame
public boolean isbCouldBeSeenThisFrame()
- Returns:
- the bCouldBeSeenThisFrame
setbCouldBeSeenThisFrame
public void setbCouldBeSeenThisFrame(boolean bCouldBeSeenThisFrame)
- Parameters:
bCouldBeSeenThisFrame
- the bCouldBeSeenThisFrame to set
getTimeSinceLastStab
public int getTimeSinceLastStab()
- Returns:
- the timeSinceLastStab
setTimeSinceLastStab
public void setTimeSinceLastStab(int timeSinceLastStab)
- Parameters:
timeSinceLastStab
- the timeSinceLastStab to set
getLastSpotted
public java.util.Stack<IsoMovingObject> getLastSpotted()
- Returns:
- the LastSpotted
setLastSpotted
public void setLastSpotted(java.util.Stack<IsoMovingObject> LastSpotted)
- Parameters:
LastSpotted
- the LastSpotted to set
getClearSpottedTimer
public int getClearSpottedTimer()
- Returns:
- the ClearSpottedTimer
setClearSpottedTimer
public void setClearSpottedTimer(int ClearSpottedTimer)
- Parameters:
ClearSpottedTimer
- the ClearSpottedTimer to set
IsRunning
public boolean IsRunning()
InitSpriteParts
public void InitSpriteParts()
IsAiming
public boolean IsAiming()
IsUsingAimWeapon
public boolean IsUsingAimWeapon()
getSleepingPillsTaken
public int getSleepingPillsTaken()
setSleepingPillsTaken
public void setSleepingPillsTaken(int sleepingPillsTaken)
- If you've take more than 10 sleeping pills you lose some health
If you're drunk, 1 pills = 2
- Parameters:
sleepingPillsTaken
-
isOutside
public boolean isOutside()
- Overrides:
isOutside
in class IsoGameCharacter
getLastSeenZomboidTime
public double getLastSeenZomboidTime()
getPlayerClothingTemperature
public float getPlayerClothingTemperature()
- Return the amount of temperature given by clothes wear
- Returns:
- temperature
getTemperature
public float getTemperature()
setTemperature
public void setTemperature(float temperature)
isTorchCone
public boolean isTorchCone()
getLightDistance
public float getLightDistance()
pressedMovement
public boolean pressedMovement()
getPlayerIndex
public static int getPlayerIndex()
allPlayersDead
public static boolean allPlayersDead()
getPlayers
public static java.util.ArrayList<IsoPlayer> getPlayers()