|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.kosi.DefaultComputerPlayer
Constructor Summary | |
DefaultComputerPlayer()
|
Method Summary | |
java.lang.String |
getName()
This method returns the name of the computer player (not the login name but the name that the programmers gave their product). |
void |
start(java.lang.String login,
java.lang.String password,
java.lang.String server)
Starts the computer player with the given login name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultComputerPlayer()
Method Detail |
public java.lang.String getName()
ComputerPlayer
getName
in interface ComputerPlayer
de.kosi.ComputerPlayer
public void start(java.lang.String login, java.lang.String password, java.lang.String server) throws ComputerPlayerException
ComputerPlayer
start
in interface ComputerPlayer
de.kosi.ComputerPlayer
login
- The login name that the computer player should use.password
- The password that the computer player needs to
log in.server
- The server the computer player should connect to.ComputerPlayerException
- If the start of the computer
player failed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |