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 boolean
bActive
protected boolean
bSoundStarted
protected static long
event
protected float
hoverTime
protected static long
inst
protected Vector2
move
protected float
occlusion
protected float
searchTime
protected zombie.iso.Helicopter.State
state
IsoGameCharacter
target
protected float
targetX
protected float
targetY
protected float
timeSinceChopperSawPlayer
protected float
volume
float
x
float
y
-
Constructor Summary
Constructors Constructor Description Helicopter()
-
Method Summary
Modifier and Type Method Description protected void
changeState(zombie.iso.Helicopter.State state)
void
clientSync(float float1, float float2, boolean boolean1)
void
deactivate()
boolean
isActive()
protected boolean
isTargetVisible()
void
pickRandomTarget()
void
setTarget(IsoGameCharacter gameCharacter)
void
update()
protected void
updateSound()
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)
-