|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Point | |
---|---|
ctf.evaluation | Test code |
ctf.evaluation.simulator | Simulator test code |
ctf.evaluation.simulator.data | |
ctf.evaluation.simulator.play | Test code for the Play state |
ctf.evaluation.simulator.responses | Replies that the simulator may send us |
ctf.evaluation.simulator.setup |
Uses of Point in ctf.evaluation |
---|
Methods in ctf.evaluation that return Point | |
---|---|
static Point |
StandardLocations.flag(Side side)
Standard flag locations |
static Point |
Point.parseFromString(java.lang.String s)
|
static Point[] |
StandardLocations.players(Side side)
Standard player locations |
static Point[] |
StandardLocations.trees(Side side)
Standard tree locations |
Methods in ctf.evaluation with parameters of type Point | |
---|---|
static void |
TestCase.assertClose(Point expected,
Point actual)
Ensure that two points are "close" to each other. |
static void |
TestCase.assertClose(java.lang.String message,
Point expected,
Point actual)
Ensure that two points are "close" to each other. |
static void |
TestCase.assertClose(java.lang.String message,
Point expected,
Point actual,
double tolerance)
Ensure that two points are "close" to each other. |
static void |
TestCase.assertCloseAbsolute(java.lang.String message,
Point expected,
Point actual,
double diff)
Ensure that two points are "close" to each other. |
float |
Point.distance(Point other)
Find the distance to an arbitrary point |
Uses of Point in ctf.evaluation.simulator |
---|
Methods in ctf.evaluation.simulator with parameters of type Point | |
---|---|
protected void |
DualController.placeFlag(Connection connection,
Point flag)
|
protected void |
CLI.placeFlag(Point flag)
|
protected void |
DualController.placeTree(Connection connection,
Point tree)
|
protected void |
CLI.placeTree(Point tree)
|
Uses of Point in ctf.evaluation.simulator.data |
---|
Methods in ctf.evaluation.simulator.data that return Point | |
---|---|
Point |
HasLocation.location()
|
Point |
Tree.location()
|
Point |
Flag.location()
|
Point |
Player.location()
|
Uses of Point in ctf.evaluation.simulator.play |
---|
Methods in ctf.evaluation.simulator.play with parameters of type Point | |
---|---|
protected void |
PlayTestCase.assertVisible(HasVisibility object,
Point location)
An object should be visible - and located at 'location' |
Uses of Point in ctf.evaluation.simulator.responses |
---|
Methods in ctf.evaluation.simulator.responses that return Point | |
---|---|
(package private) static Point[] |
TreesResponse.parse(java.lang.String[] tokens)
Parse a Trees response (package-visible for testing purposes) |
Point[] |
TreesResponse.trees()
Where are the trees? |
Uses of Point in ctf.evaluation.simulator.setup |
---|
Methods in ctf.evaluation.simulator.setup with parameters of type Point | |
---|---|
protected void |
PlaceFlag.place(Connection connection,
Point point)
Place a flag at a specific point |
protected void |
PlaceTrees.place(Connection connection,
Point point)
Place a tree at a specific point |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |