public class Hints
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Vector2D |
FORWARD_VECTOR |
static int |
HINT_ALL |
static int |
HINT_COLLISION |
static int |
HINT_HEADING |
static int |
HINT_NONE |
static int |
HINT_OBS_AVOID |
static int |
HINT_VELOCITY |
static int |
HINT_VIEW |
static int |
HINT_WANDER |
static int |
HINT_WHISKERS |
static int |
hintFlags |
static Vector2D |
ZERO_VECTOR |
Constructor and Description |
---|
Hints() |
Modifier and Type | Method and Description |
---|---|
static void |
draw(processing.core.PApplet app,
BaseEntity owner,
float velX,
float velY,
float headX,
float headY)
This is the only method available and should be called from the renderer object.
|
public static final int HINT_HEADING
public static final int HINT_VELOCITY
public static final int HINT_COLLISION
public static final int HINT_WHISKERS
public static final int HINT_OBS_AVOID
public static final int HINT_WANDER
public static final int HINT_VIEW
public static final int HINT_NONE
public static final int HINT_ALL
public static final Vector2D ZERO_VECTOR
public static final Vector2D FORWARD_VECTOR
public static int hintFlags
public static void draw(processing.core.PApplet app, BaseEntity owner, float velX, float velY, float headX, float headY)
app
- owner
- velX
- velY
- headX
- headY
- Processing library AI_for_2D_Games by Peter Lager. (C) 2013