effects
Class Projectile

java.lang.Object
  extended by herzog3d.HZObject
      extended by effects.Effect
          extended by effects.Projectile

public class Projectile
extends Effect


Field Summary
 
Fields inherited from class herzog3d.HZObject
active, dir, model, pos, radius, shell, skin, state
 
Constructor Summary
Projectile(Game game, Unit firer, ReadableVector3f pos, Vector3f vel)
           
 
Method Summary
 void draw()
           
 Vector3f getPos()
           
 Vector3f getVel()
           
 void update(Game g, float step)
           
 
Methods inherited from class herzog3d.HZObject
getColRadius, getDir, getRadius, intersects, isActive, move, move, setActive, setModel, setPos, setPos, setSkin, setState, testCollision
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Projectile

public Projectile(Game game,
                  Unit firer,
                  ReadableVector3f pos,
                  Vector3f vel)
Method Detail

update

public void update(Game g,
                   float step)
Specified by:
update in class Effect

getPos

public Vector3f getPos()
Overrides:
getPos in class HZObject

getVel

public Vector3f getVel()

draw

public void draw()
Specified by:
draw in class Effect