Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
R
S
T
U
V
W
X
Y
T
TCPTests
- Class in
ctf.network
Tests TCP communication
TCPTests()
- Constructor for class ctf.network.
TCPTests
TCPTests.ConnectionAcceptor
- Class in
ctf.network
TCPTests.ConnectionAcceptor()
- Constructor for class ctf.network.
TCPTests.ConnectionAcceptor
team(Side)
- Method in class ctf.evaluation.simulator.data.
State
Team
- Class in
ctf.evaluation.simulator.data
Represents a team
Team(String[])
- Constructor for class ctf.evaluation.simulator.data.
Team
TeamColor
- Enum in
ctf.model
Valid team colors
teamColor(Side)
- Method in class ctf.view.
FieldViewTester
teamColor(GameInterface.Side)
- Method in interface ctf.view.
GameInterface
What is the given team's colour?
teamColor(Side)
- Method in interface ctf.view.
GameViewInterface
What is the given team's colour?
teamsConnected()
- Method in class ctf.view.
FieldViewTester
teamsConnected()
- Method in interface ctf.view.
GameInterface
Have both teams connected (and identified their colour)?
tearDown()
- Method in class ctf.evaluation.simulator.handshaking.
Start
Tear down after a test
tearDown()
- Method in class ctf.evaluation.simulator.handshaking.
Version
Tear down after a test
tearDown()
- Method in class ctf.evaluation.simulator.play.
PlayerPositions
tearDown()
- Method in class ctf.evaluation.simulator.play.
PlayTestCase
tearDown()
- Method in class ctf.evaluation.simulator.setup.
PlaceFlag
Tear down after a test
tearDown()
- Method in class ctf.evaluation.simulator.setup.
PlaceTrees
Tear down after a test
tearDown()
- Method in class ctf.evaluation.simulator.setup.
RequestSide
Tear down after a test
tearDown()
- Method in class ctf.evaluation.
TestCase
testBottomEdgeOfTheField()
- Method in class ctf.evaluation.simulator.setup.
PlaceFlag
Flags may not be placed within 1m of the edge of the field
testBottomEdgeOfTheField()
- Method in class ctf.evaluation.simulator.setup.
PlaceTrees
Trees may not be placed within 1m of the edge of the field
TestCase
- Class in
ctf.evaluation
A JUnit test case, with a couple of extra methods.
TestCase()
- Constructor for class ctf.evaluation.
TestCase
testCentreLine()
- Method in class ctf.evaluation.simulator.setup.
PlaceFlag
Flags may not be placed within 1m of the centre line
testCentreLine()
- Method in class ctf.evaluation.simulator.setup.
PlaceTrees
Trees may not be placed within 1m of the centre line
testCentreToCentreDistance()
- Method in class ctf.evaluation.simulator.setup.
PlaceTrees
Trees may not be placed within 1m of the centre line
testClient()
- Method in class ctf.network.
TCPTests
Test opening a client to a server port, first sending and then receiving a String
testComplimentaryRequests()
- Method in class ctf.evaluation.simulator.setup.
RequestSide
Normal RequestSide sequence, teams request different sides
TestConnection
- Class in
ctf.network.tcp
A connection that times out after 100 ms (the maximum allowable latency according to the CTF specification).
TestConnection(String, int)
- Constructor for class ctf.network.tcp.
TestConnection
Construct a new connection to a server
TestConnection(Socket)
- Constructor for class ctf.network.tcp.
TestConnection
Construct a new (already-opened) connection
testDefaultPlacement()
- Method in class ctf.evaluation.simulator.play.
PlayerPositions
Ensure that players are placed in default locations and orientations
Tester
- Class in
ctf.evaluation
All tests for Engineering 7893
Tester()
- Constructor for class ctf.evaluation.
Tester
testFlagOnEnemySide()
- Method in class ctf.evaluation.simulator.setup.
PlaceFlag
A team may not place a flag on the opposing side of the field
testFlagPlayerDistance()
- Method in class ctf.evaluation.simulator.setup.
PlaceFlag
Flags may not be placed within 25m of a player's starting position
testFloatInt()
- Method in class ctf.evaluation.
STEALTest
Make sure that floating-point numbers are not accepted by parseInt()
testGarbageString()
- Method in class ctf.evaluation.simulator.handshaking.
Version
A controller sends a garbage string
testIntFloat()
- Method in class ctf.evaluation.
STEALTest
Make sure that int-only numbers are not accepted by parseFloat()
testInvalidSideRequest()
- Method in class ctf.evaluation.simulator.setup.
RequestSide
Red asks for an invalid side.
testJail()
- Method in class ctf.evaluation.simulator.setup.
PlaceFlag
A flag may not be placed with 1m of a jail
testJail()
- Method in class ctf.evaluation.simulator.setup.
PlaceTrees
A tree may not be placed with 1m of a jail
testLargeFloat()
- Method in class ctf.evaluation.
STEALTest
Make sure that large float values are accepted
testLargeInt()
- Method in class ctf.evaluation.
STEALTest
Make sure that large integer values are accepted
testLeftEdgeOfTheField()
- Method in class ctf.evaluation.simulator.setup.
PlaceFlag
Flags may not be placed within 1m of the edge of the field
testLeftEdgeOfTheField()
- Method in class ctf.evaluation.simulator.setup.
PlaceTrees
Trees may not be placed within 1m of the edge of the field
testMisspelledStartString()
- Method in class ctf.evaluation.simulator.handshaking.
Start
A team misspells the initialisation string.
testMisspelledTeamName()
- Method in class ctf.evaluation.simulator.handshaking.
Start
A team misspells its name.
testNegativeFloat()
- Method in class ctf.evaluation.
STEALTest
Make sure that negative integers are accepted by parseFloat()
testNegativeInt()
- Method in class ctf.evaluation.
STEALTest
Make sure that negative integers are not accepted by parseInt()
testNormalFloat()
- Method in class ctf.evaluation.
STEALTest
Make sure that regular floating-point values are accepted
testNormalInt()
- Method in class ctf.evaluation.
STEALTest
Make sure that regular integer values are accepted
testNormalPlacement()
- Method in class ctf.evaluation.simulator.setup.
PlaceFlag
Flags are placed in default locations
testNormalPlacement()
- Method in class ctf.evaluation.simulator.setup.
PlaceTrees
Trees are placed in default locations
testNormalStart()
- Method in class ctf.evaluation.simulator.handshaking.
Start
Normal start sequence.
testNormalVersion()
- Method in class ctf.evaluation.simulator.handshaking.
Version
Normal Version sequence
TestNotImplementedException
- Exception in
ctf.evaluation
A test hasn't been implemented yet
TestNotImplementedException(String)
- Constructor for exception ctf.evaluation.
TestNotImplementedException
testPartialPlacement()
- Method in class ctf.evaluation.simulator.setup.
PlaceTrees
After some of a team's trees have been placed, the other team sends a getTrees query.
testRightEdgeOfTheField()
- Method in class ctf.evaluation.simulator.setup.
PlaceFlag
Flags may not be placed within 1m of the edge of the field
testRightEdgeOfTheField()
- Method in class ctf.evaluation.simulator.setup.
PlaceTrees
Trees may not be placed within 1m of the edge of the field
testSendingFubar()
- Method in class ctf.evaluation.simulator.handshaking.
Start
A team sends a completely invalid string.
testSideContention()
- Method in class ctf.evaluation.simulator.setup.
RequestSide
Normal RequestSide sequence, both teams request same side.
testStartCommandInVersionState()
- Method in class ctf.evaluation.simulator.handshaking.
Version
A controller sends a Start command in the Version state
testTopEdgeOfTheField()
- Method in class ctf.evaluation.simulator.setup.
PlaceFlag
Flags may not be placed within 1m of the edge of the field
testTopEdgeOfTheField()
- Method in class ctf.evaluation.simulator.setup.
PlaceTrees
Trees may not be placed within 1m of the edge of the field
testTreePlayerDistance()
- Method in class ctf.evaluation.simulator.setup.
PlaceTrees
Trees may not be placed within 1.2m of a player's starting position
testTreesOnEnemySide()
- Method in class ctf.evaluation.simulator.setup.
PlaceTrees
A team may not place a tree on the opposing side of the field
testUnplacedFlag()
- Method in class ctf.evaluation.simulator.setup.
PlaceFlag
If a team's flag has not been placed, the other team should still be able to poll for the current game state; the game time will just be 0.
testWrongSTEALVersion()
- Method in class ctf.evaluation.simulator.handshaking.
Version
A controller requests an unsupported STEAL version
testWrongYear()
- Method in class ctf.evaluation.simulator.handshaking.
Start
A team uses the wrong year.
text
- Variable in class ctf.view.
Console
Where the messages actually get logged
TextUI
- Class in
ctf.evaluation
Text test runner
TextUI()
- Constructor for class ctf.evaluation.
TextUI
time()
- Method in class ctf.evaluation.simulator.data.
State
What's the current game time (in seconds)?
Time
- Class in
ctf.evaluation.simulator.data
The current time
Time(String)
- Constructor for class ctf.evaluation.simulator.data.
Time
time()
- Method in class ctf.evaluation.simulator.data.
Time
What time is it?
time()
- Method in class ctf.evaluation.simulator.responses.
CommandResponse
The (game) time that the command was received
TimeoutException
- Exception in
ctf.network
Something timed out.
TimeoutException(String)
- Constructor for exception ctf.network.
TimeoutException
Constructor.
tmp
- Variable in class ctf.network.
TCPTests
tmpCondition
- Variable in class ctf.network.
TCPTests
tmpLock
- Variable in class ctf.network.
TCPTests
toAWTColor()
- Method in enum ctf.model.
TeamColor
TOKENS
- Static variable in class ctf.evaluation.simulator.data.
Flag
TOKENS
- Static variable in class ctf.evaluation.simulator.data.
Player
TOKENS
- Static variable in class ctf.evaluation.simulator.data.
State
TOKENS
- Static variable in class ctf.evaluation.simulator.data.
Team
TOKENS
- Static variable in class ctf.evaluation.simulator.data.
Time
tokens()
- Method in class ctf.evaluation.simulator.responses.
Response
Get the parsed tokens
toSTEAL()
- Method in class ctf.evaluation.
Point
toString()
- Method in class ctf.evaluation.
Point
Object overload
toString()
- Method in class ctf.evaluation.simulator.data.
Player
toString()
- Method in class ctf.network.tcp.
Connection
toString()
- Method in class ctf.network.tcp.
Server
Tree
- Class in
ctf.evaluation.simulator.data
Represents a tree
Tree(String)
- Constructor for class ctf.evaluation.simulator.data.
Tree
treeRadius()
- Method in class ctf.view.
FieldViewTester
treeRadius()
- Method in interface ctf.view.
GameInterface
The radius of each tree (in metres)
treeRadius()
- Method in interface ctf.view.
GameViewInterface
The radius of each tree (in metres)
trees()
- Method in class ctf.evaluation.simulator.responses.
TreesResponse
Where are the trees?
TREES
- Static variable in class ctf.evaluation.
StandardLocations
trees(Side)
- Static method in class ctf.evaluation.
StandardLocations
Standard tree locations
trees()
- Method in class ctf.view.
FieldViewTester
trees()
- Method in interface ctf.view.
GameInterface
Positions of all trees
trees()
- Method in interface ctf.view.
GameViewInterface
Positions of all trees
TREES_PER_SIDE
- Static variable in class ctf.evaluation.
STEAL
TreesResponse
- Class in
ctf.evaluation.simulator.responses
A response to the 'getState' query
TreesResponse(Connection)
- Constructor for class ctf.evaluation.simulator.responses.
TreesResponse
Public constructor
turnTo(Connection, Side, int, double)
- Method in class ctf.evaluation.simulator.play.
PlayTestCase
Turn a player to a heading
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
R
S
T
U
V
W
X
Y