public class Target
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
float |
height |
float |
width |
float |
xCenter |
float |
yCenter |
Modifier and Type | Method and Description |
---|---|
float |
distanceFromTargetCenter(float xTest,
float yTest) |
boolean |
inTarget(float xTest,
float yTest)
Returns true if the specified coordinate is inside the target.
|