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
S
score()
- Method in class ctf.evaluation.simulator.data.
Team
score(Side)
- Method in class ctf.view.
FieldViewTester
score(GameInterface.Side)
- Method in interface ctf.view.
GameInterface
What's the given team's score?
score(Side)
- Method in interface ctf.view.
GameViewInterface
What's the given team's score?
send(String)
- Method in class ctf.network.tcp.
Connection
Send a string of characters across the socket
sendCommand(String)
- Method in class ctf.evaluation.simulator.
CLI
sendCommand(Connection, String)
- Method in class ctf.evaluation.simulator.
DualController
sendLine(String)
- Method in class ctf.network.tcp.
Connection
Send a newline-terminated line across the socket
sendLine(String)
- Method in class ctf.network.tcp.
TestConnection
Server
- Class in
ctf.network.tcp
Used for communication between game and clients
Server(ServerOwner)
- Constructor for class ctf.network.tcp.
Server
Default constructor
Server.ConnectionAcceptor
- Class in
ctf.network.tcp
A thread to accept connections
Server.ConnectionAcceptor()
- Constructor for class ctf.network.tcp.
Server.ConnectionAcceptor
Default constructor
ServerOwner
- Interface in
ctf.network.tcp
Interface for classes that "own" TCP servers
setBounds(int, int, int, int)
- Method in class ctf.view.
Double_buffered_canvas
All component shaping operations call setBounds().
setExitOnClose(boolean)
- Method in class ctf.view.
Console
Should the application exit when the Console frame closes?
setModel(GameViewInterface)
- Method in class ctf.view.
FieldView
setOutputStream(PrintStream)
- Method in class ctf.
Log
setOwner(ConnectionOwner)
- Method in class ctf.network.tcp.
Connection
Who "owns" this connection (receives events)?
setUp()
- Method in class ctf.evaluation.simulator.handshaking.
Start
Set up for a test
setUp()
- Method in class ctf.evaluation.simulator.handshaking.
Version
Get into the Version state
setUp()
- Method in class ctf.evaluation.simulator.play.
PlayerPositions
Initialize the field with tree, flag and player locations.
setUp()
- Method in class ctf.evaluation.simulator.play.
PlayTestCase
Initialize the field with tree, flag and player locations.
setUp()
- Method in class ctf.evaluation.simulator.setup.
PlaceFlag
Get into the PlaceFlag state
setUp()
- Method in class ctf.evaluation.simulator.setup.
PlaceTrees
Get into the PlaceTrees state
setUp()
- Method in class ctf.evaluation.simulator.setup.
RequestSide
Get into the Version state
Setup
- Class in
ctf.evaluation.simulator.setup
Tests CTF game setup
Setup()
- Constructor for class ctf.evaluation.simulator.setup.
Setup
setUp()
- Method in class ctf.evaluation.
TestCase
side()
- Method in class ctf.evaluation.simulator.responses.
SideResponse
Which side we're on
Side
- Enum in
ctf.model
Sides of the field
SideResponse
- Class in
ctf.evaluation.simulator.responses
A response to "want_side [Int]"
SideResponse(Connection)
- Constructor for class ctf.evaluation.simulator.responses.
SideResponse
SimulatorTest
- Annotation Type in
ctf.evaluation.simulator
Denotes that a test is a system-level test of a CTF simulator
SimulatorTests
- Class in
ctf.evaluation.simulator
Simulator tests
SimulatorTests()
- Constructor for class ctf.evaluation.simulator.
SimulatorTests
sleep(int)
- Method in class ctf.evaluation.
TestCase
Wait for a number of milliseconds (no InterruptedException).
SLEEP_TIME
- Static variable in class ctf.evaluation.simulator.play.
PlayTestCase
How long to wait between "getState" requests (in ms)
socket
- Variable in class ctf.network.tcp.
Connection
The actual socket
SocketClosedException
- Exception in
ctf.network
A socket has closed
SocketClosedException()
- Constructor for exception ctf.network.
SocketClosedException
Default constructor
speed()
- Method in class ctf.evaluation.simulator.data.
Player
StandardLocations
- Class in
ctf.evaluation
Standard locations for game objects (e.g.
StandardLocations()
- Constructor for class ctf.evaluation.
StandardLocations
Start
- Class in
ctf.evaluation.simulator.handshaking
Tests the 'Start' state of a simulator's state machine
Start()
- Constructor for class ctf.evaluation.simulator.handshaking.
Start
startAccepting(int)
- Method in class ctf.network.tcp.
Server
Starts accepting TCP clients (asynchronously)
state()
- Method in class ctf.evaluation.simulator.data.
Player
State
- Class in
ctf.evaluation.simulator.data
Represents the current state of the game
State(String[])
- Constructor for class ctf.evaluation.simulator.data.
State
state()
- Method in class ctf.evaluation.simulator.responses.
StateResponse
The state of the game
StateResponse
- Class in
ctf.evaluation.simulator.responses
A response to the 'getState' query
StateResponse(Connection)
- Constructor for class ctf.evaluation.simulator.responses.
StateResponse
statusMessage()
- Method in class ctf.view.
FieldViewTester
statusMessage()
- Method in interface ctf.view.
GameInterface
A status message: any information the Model would like to convey
statusMessage()
- Method in interface ctf.view.
GameViewInterface
A status message: any information the Model would like to convey
STEAL
- Class in
ctf.evaluation
The STEAL protocol
STEAL()
- Constructor for class ctf.evaluation.
STEAL
STEALTest
- Class in
ctf.evaluation
STEALTest()
- Constructor for class ctf.evaluation.
STEALTest
stopAccepting()
- Method in class ctf.network.tcp.
Server
Shut down the server port
stringToColor(String)
- Static method in enum ctf.model.
TeamColor
suite()
- Static method in class ctf.evaluation.simulator.handshaking.
Handshaking
The test suite
suite()
- Static method in class ctf.evaluation.simulator.play.
Play
The test suite
suite()
- Static method in class ctf.evaluation.simulator.setup.
Setup
The test suite
suite()
- Static method in class ctf.evaluation.simulator.
SimulatorTests
The test suite
suite()
- Static method in class ctf.evaluation.
Tester
The test suite
suite()
- Static method in class ctf.network.
UnitTests
The test suite
SwingUI
- Class in
ctf.evaluation
Swing test runner
SwingUI()
- Constructor for class ctf.evaluation.
SwingUI
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