zombie
Class VirtualZombie

java.lang.Object
  extended by zombie.VirtualZombie
All Implemented Interfaces:
IPathfinder, Mover

public class VirtualZombie
extends java.lang.Object
implements IPathfinder, Mover

Author:
LEMMY

Field Summary
 int Count
           
 boolean dead
           
 boolean doneMergeAttempt
           
 boolean finding
           
 boolean followhorde
           
static int moveDelay
           
 Path path
           
 int PathIndex
           
 int targx
           
 int targy
           
 float x
           
 float y
           
 
Constructor Summary
VirtualZombie()
           
 
Method Summary
 void Failed(Mover mover)
           
 int getID()
           
 java.lang.String getName()
           
 int getPathFindIndex()
           
 void Succeeded(Path path, Mover mover)
           
 void update()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Count

public int Count

targx

public int targx

targy

public int targy

x

public float x

y

public float y

followhorde

public boolean followhorde

moveDelay

public static int moveDelay

path

public Path path

PathIndex

public int PathIndex

dead

public boolean dead

finding

public boolean finding

doneMergeAttempt

public boolean doneMergeAttempt
Constructor Detail

VirtualZombie

public VirtualZombie()
Method Detail

update

public void update()

Failed

public void Failed(Mover mover)
Specified by:
Failed in interface IPathfinder

Succeeded

public void Succeeded(Path path,
                      Mover mover)
Specified by:
Succeeded in interface IPathfinder

getName

public java.lang.String getName()
Specified by:
getName in interface IPathfinder

getID

public int getID()
Specified by:
getID in interface Mover

getPathFindIndex

public int getPathFindIndex()
Specified by:
getPathFindIndex in interface Mover