|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectunc.cdva.utils.Constants
public class Constants
All the hard coded constants used by the game
Field Summary | |
---|---|
static float[] |
AMBIENT_LIGHT
Specifies the ambient lighting values the game lighting. |
static javax.vecmath.Vector3f |
BASE_VECTOR
|
static float[] |
CAMERA_FACING
|
static boolean |
DEBUG
Flag that indicates if the project is in a developmental phase. |
static float[] |
DIFFUSE_LIGHT
Specifies the diffuse lighting values the game lighting. |
static long |
DISTANCE_MAPPING_FACTOR
Represents the factor to convert rendering coordinates into logical game coordinates. |
static java.lang.String |
GRAPHICS_FILE
|
static java.lang.String |
LEVELS_FILE
|
static boolean |
LONG_TESTS
Specifies that test methods/classes need not be concerned by overly long tests. |
static int |
MAX_LEVEL
|
static float |
PATHWAY_END
Specifies how far the pathway extends (used in figuring out if a boat has hit the dam). |
static float |
PATHWAY_MAX
pathway extends (this does not change the graphics! just the projectile hit/miss properties). |
static float |
PATHWAY_MIN
pathway extends (this does not change the graphics! just the projectile hit/miss properties). |
static float[] |
POSITION_CAMERA
|
static float[] |
POSITION_LIGHT
|
static java.lang.String |
PREFERENCES
|
static float |
RANGE_CAR_SPEED
|
static float[] |
SPECULAR_LIGHT
Specifies the specular lighting values the game lighting. |
static float |
TARGET_LENGTH
Lenght of a target 3d object |
static float |
TARGET_WIDTH
Width of a target 3d object |
static long |
TIMER_RATE
How fast the game timer ticks (in ms) |
Constructor Summary | |
---|---|
Constants()
|
Method Summary | |
---|---|
static void |
setCameraFacing(javax.vecmath.Vector3f vals)
|
static void |
setCameraPos(javax.vecmath.Vector3f vals)
|
static void |
setTimerRate(long value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final boolean LONG_TESTS
public static final boolean DEBUG
public static long TIMER_RATE
public static final long DISTANCE_MAPPING_FACTOR
public static final float PATHWAY_MAX
public static final float PATHWAY_MIN
public static final float PATHWAY_END
public static final float TARGET_LENGTH
public static final float TARGET_WIDTH
public static final float[] AMBIENT_LIGHT
public static final float[] DIFFUSE_LIGHT
public static final float[] SPECULAR_LIGHT
public static final float[] POSITION_LIGHT
public static float[] POSITION_CAMERA
public static float[] CAMERA_FACING
public static final javax.vecmath.Vector3f BASE_VECTOR
public static final java.lang.String GRAPHICS_FILE
public static final java.lang.String LEVELS_FILE
public static final java.lang.String PREFERENCES
public static final int MAX_LEVEL
public static final float RANGE_CAR_SPEED
Constructor Detail |
---|
public Constants()
Method Detail |
---|
public static void setTimerRate(long value)
public static void setCameraPos(javax.vecmath.Vector3f vals)
public static void setCameraFacing(javax.vecmath.Vector3f vals)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |