Package zombie.iso
Class Helicopter
java.lang.Object
zombie.iso.Helicopter
public class Helicopter
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description protected booleanbActiveprotected booleanbSoundStartedprotected static longeventprotected floathoverTimeprotected static longinstprotected Vector2moveprotected floatocclusionprotected floatsearchTimeprotected zombie.iso.Helicopter.StatestateIsoGameCharactertargetprotected floattargetXprotected floattargetYprotected floattimeSinceChopperSawPlayerprotected floatvolumefloatxfloaty -
Constructor Summary
Constructors Constructor Description Helicopter() -
Method Summary
Modifier and Type Method Description protected voidchangeState(zombie.iso.Helicopter.State state)voidclientSync(float float1, float float2, boolean boolean1)voiddeactivate()booleanisActive()protected booleanisTargetVisible()voidpickRandomTarget()voidsetTarget(IsoGameCharacter gameCharacter)voidupdate()protected voidupdateSound()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
state
protected zombie.iso.Helicopter.State state -
target
-
timeSinceChopperSawPlayer
protected float timeSinceChopperSawPlayer -
hoverTime
protected float hoverTime -
searchTime
protected float searchTime -
x
public float x -
y
public float y -
targetX
protected float targetX -
targetY
protected float targetY -
move
-
bActive
protected boolean bActive -
inst
protected static long inst -
event
protected static long event -
bSoundStarted
protected boolean bSoundStarted -
volume
protected float volume -
occlusion
protected float occlusion
-
-
Constructor Details
-
Helicopter
public Helicopter()
-
-
Method Details
-
pickRandomTarget
public void pickRandomTarget() -
setTarget
-
changeState
protected void changeState(zombie.iso.Helicopter.State state) -
update
public void update() -
updateSound
protected void updateSound() -
isTargetVisible
protected boolean isTargetVisible() -
deactivate
public void deactivate() -
isActive
public boolean isActive() -
clientSync
public void clientSync(float float1, float float2, boolean boolean1)
-