public class X
extends Debug
Tags a point by plotting an X.
-
-
Constructor Summary
Constructors
Constructor |
Description |
X(Vector p) |
Creates an X-tagging debug.
|
X(Vector p,
java.lang.String text) |
Creates a X-tagging debug with the specified text.
|
-
Method Summary
Modifier and Type |
Method |
Description |
void |
paint(java.awt.Graphics g,
java.awt.Color color,
java.awt.Color globe,
double scale,
Sphere sphere,
Matrix base,
boolean front) |
[Implementation]
|
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Creates an X-tagging debug.
- Parameters:
p
- point
-
public X(
Vector p,
java.lang.String text)
Creates a X-tagging debug with the specified text.
- Parameters:
p
- point
text
- text
-
Method Details
-
public void paint(
java.awt.Graphics g,
java.awt.Color color,
java.awt.Color globe,
double scale,
Sphere sphere,
Matrix base,
boolean front)
[Implementation]
- Overrides:
paint
in class Debug
- Parameters:
g
- Graphics Context
color
- color of the debug
globe
- color of the sphere
scale
- scaling (sphere radius in pixels)
sphere
- game sphere
base
- perspective matrix
front
- front or back?