|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectherzog3d.Camera
public class Camera
| Field Summary | |
|---|---|
static float |
JET_CHASE_DIST
|
static float |
JET_CHASE_HEIGHT
|
static float |
ROBOT_CHASE_DIST
|
static float |
ROBOT_CHASE_HEIGHT
|
| Constructor Summary | |
|---|---|
Camera(Game game)
Create a camera locked on to the given mech. |
|
| Method Summary | |
|---|---|
Vector3f |
getPos()
Get the position of the camera; |
Mech |
getTarget()
|
void |
setMech(Mech mech)
|
void |
transform()
|
void |
update(float timeStep)
Update the camera position, based on the target mech. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final float JET_CHASE_DIST
public static final float JET_CHASE_HEIGHT
public static final float ROBOT_CHASE_DIST
public static final float ROBOT_CHASE_HEIGHT
| Constructor Detail |
|---|
public Camera(Game game)
target - | Method Detail |
|---|
public void setMech(Mech mech)
public void update(float timeStep)
public void transform()
public Vector3f getPos()
public Mech getTarget()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||