Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
B
C
D
E
F
G
H
I
M
N
O
R
S
T
U
V
W
S
SEA
- Static variable in class sv.
Game
field contains sea (maybe undiscovered or a sea field on own side)
SERVE
- Static variable in class sv.
Controller
signalize serve (-action)
SETSHIPS
- Static variable in class sv.view.
MouseFieldAdapter
SHIP
- Static variable in class sv.
Game
field contains a ship (on own side)
SVException
- exception sv.
SVException
.
The sv exception extends java.lang.Exception an may be used to signalize exptions which are thrown because of inconvinient behaviour of the game (cause by illegal procedure-calls i.e.); for debugging purposes only.
SVException(String)
- Constructor for class sv.
SVException
SVTest
- class sv.
SVTest
.
used to test some features; debugging only.
SVTest()
- Constructor for class sv.
SVTest
ScoreBoard
- class sv.view.
ScoreBoard
.
score board shows the actual ammo-difference and the hits ... extends JPanel to be used within the view.
ScoreBoard()
- Constructor for class sv.view.
ScoreBoard
sendName(String)
- Method in class sv.net.
NetDaemon
sendReady()
- Method in class sv.net.
NetDaemon
setAction(int)
- Method in class sv.
Controller
Set action ... should be used to inform the controller, what to do while establishing a connection.
setAmmo(int)
- Method in class sv.
Game
set ammo (also at beginning!)
setController(Controller)
- Method in class sv.net.
NetDaemon
Set instance of the controller of the running game; maybe necessary to communicate while playing
setController(Controller)
- Method in class sv.view.
Board
setController(Controller)
- Method in class sv.view.
MouseFieldAdapter
set controller
setController(Controller)
- Method in class sv.view.
ScoreBoard
setController(Controller)
- Method in class sv.view.
View
set controller for future use
setField(int, int, int)
- Method in class sv.view.
Board
set the status of a field (hit, undiscoverd, hiding a ship ...)
setGame(Game)
- Method in class sv.net.
NetDaemon
Set instance of running game; maybe necessary to communicate while playing
setHost(String)
- Method in class sv.net.
NetDaemon
Set adress of other instance
setInfo(String, String, String, int)
- Method in class sv.
Controller
set information about the game; maybe necessary
setMouseStatus(int)
- Method in class sv.view.
View
set activity status of mouse adapter;
setName(String)
- Method in class sv.
Game
set player name
setNetDaemon(NetDaemon)
- Method in class sv.
Game
set network daemon (to shorten communication routes)
setPlayerNames(String, String)
- Method in class sv.view.
View
set player names
setPort(int)
- Method in class sv.net.
NetDaemon
Set the port number, on which the other instance is listening
setReady(boolean)
- Method in class sv.
Game
used while syncronizing the game with other instance
setShips()
- Method in class sv.
Game
set ships on own field.
setStatus(int)
- Method in class sv.view.
BoardField
set the status of a field; uses finals of the Game object
setStatus(int)
- Method in class sv.view.
MouseFieldAdapter
set (in-) active; status may habe to be changed within the flow of the game.
setView(View)
- Method in class sv.
Game
set view of the game (to shorten communication routes)
shoot(int, int)
- Method in class sv.
Game
try to shoot at field with given coords
shoot(int, int)
- Method in class sv.net.
NetDaemon
sv
- package sv
sv.net
- package sv.net
sv.view
- package sv.view
syncAmmo(int)
- Method in class sv.net.
NetDaemon
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
B
C
D
E
F
G
H
I
M
N
O
R
S
T
U
V
W