test.zombiegame
Class Hunter

java.lang.Object
  extended by test.zombiegame.Hunter

public class Hunter
extends java.lang.Object


Field Summary
static int BACKWARDS
           
static int DIE
           
static int FLINCH
           
static int IDLE
           
static int JUMP
           
static int MELEE
           
static int RANGED
           
static int RUN
           
 
Constructor Summary
Hunter(double x, double y, double z)
           
 
Method Summary
 int getFrame()
           
 java.lang.String getModel()
           
 double getRotateX()
           
 double getRotateY()
           
 double getRotateZ()
           
 double getScale()
           
 int getState()
           
 java.lang.String getTexture()
           
 double getX()
           
 double getY()
           
 double getZ()
           
 void move()
          Basic implementation.
 void setModel(java.lang.String model)
           
 void setRotateX(double rotateX)
           
 void setRotateY(double rotateY)
           
 void setRotateZ(double rotateZ)
           
 void setScale(double scale)
           
 void setState(int newState)
           
 void setTexture(java.lang.String texture)
           
 void setX(double x)
           
 void setY(double y)
           
 void setZ(double z)
           
 void strife(double direction, double speed)
           
 void walk(double direction, double speed)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FLINCH

public static final int FLINCH
See Also:
Constant Field Values

MELEE

public static final int MELEE
See Also:
Constant Field Values

IDLE

public static final int IDLE
See Also:
Constant Field Values

JUMP

public static final int JUMP
See Also:
Constant Field Values

RUN

public static final int RUN
See Also:
Constant Field Values

RANGED

public static final int RANGED
See Also:
Constant Field Values

DIE

public static final int DIE
See Also:
Constant Field Values

BACKWARDS

public static final int BACKWARDS
See Also:
Constant Field Values
Constructor Detail

Hunter

public Hunter(double x,
              double y,
              double z)
Method Detail

walk

public void walk(double direction,
                 double speed)

strife

public void strife(double direction,
                   double speed)

move

public void move()
Basic implementation. Simply animate the model based on the state


getFrame

public int getFrame()

getState

public int getState()

setState

public void setState(int newState)

getX

public double getX()

setX

public void setX(double x)

getY

public double getY()

setY

public void setY(double y)

getZ

public double getZ()

setZ

public void setZ(double z)

getRotateX

public double getRotateX()

setRotateX

public void setRotateX(double rotateX)

getRotateY

public double getRotateY()

setRotateY

public void setRotateY(double rotateY)

getRotateZ

public double getRotateZ()

setRotateZ

public void setRotateZ(double rotateZ)

getScale

public double getScale()

setScale

public void setScale(double scale)

getModel

public java.lang.String getModel()

setModel

public void setModel(java.lang.String model)

getTexture

public java.lang.String getTexture()

setTexture

public void setTexture(java.lang.String texture)