|
JSettlers v1.0.6 API Built ${date} |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Panel
java.applet.Applet
soc.client.SOCPlayerClient
Applet/Standalone client for connecting to the SOCServer. If you want another connection port, you have to specify it as the "port" argument in the html source. If you run this as a stand-alone, you have to specify the port.
Nested Class Summary |
Nested classes inherited from class java.applet.Applet |
java.applet.Applet.AccessibleApplet |
Nested classes inherited from class java.awt.Panel |
java.awt.Panel.AccessibleAWTPanel |
Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary | |
protected java.applet.AppletContext |
ac
|
protected java.awt.CardLayout |
cardLayout
|
protected java.awt.TextField |
channel
|
protected java.util.Hashtable |
channels
the channels |
protected java.awt.List |
chlist
|
protected boolean |
connected
|
protected java.lang.Exception |
ex
|
protected java.awt.TextField |
game
|
protected java.util.Hashtable |
games
the games |
protected java.awt.List |
gmlist
|
protected boolean |
gotPassword
true if we've stored the password |
protected java.lang.String |
host
|
protected java.util.Vector |
ignoreList
the ignore list |
protected java.io.DataInputStream |
in
|
protected java.awt.Button |
jc
|
protected java.awt.Button |
jg
|
protected java.lang.String |
lastMessage
|
protected java.awt.Label |
messageLabel
|
protected java.awt.TextField |
nick
|
protected java.lang.String |
nickname
the nickname |
protected java.io.DataOutputStream |
out
|
protected java.awt.TextField |
pass
|
protected java.lang.String |
password
the password |
protected java.util.Hashtable |
playerInterfaces
the player interfaces for the games |
protected int |
port
|
protected java.lang.Thread |
reader
|
protected java.net.Socket |
s
|
protected static java.lang.String |
STATSPREFEX
|
protected java.awt.TextField |
status
|
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
SOCPlayerClient()
Create a SOCPlayerClient connecting to localhost port 8880 |
|
SOCPlayerClient(java.lang.String h,
int p)
Constructor for connecting to the specified host, on the specified port. |
Method Summary | |
void |
acceptOffer(SOCGame ga,
int from)
the user is accepting an offer |
void |
actionPerformed(java.awt.event.ActionEvent e)
Handle mouse clicks and keyboard |
void |
addToGameList(java.lang.String thing)
add a new game |
protected void |
addToIgnoreList(java.lang.String name)
add this name to the ignore list |
void |
addToList(java.lang.String thing,
java.awt.List lst)
add a new channel or game, put it in the list in alphabetical order |
void |
bankTrade(SOCGame ga,
SOCResourceSet give,
SOCResourceSet get)
the user wants to trade with the bank |
void |
buildRequest(SOCGame ga,
int piece)
request to build something |
void |
buyDevCard(SOCGame ga)
request to buy a development card |
void |
cancelBuildRequest(SOCGame ga,
int piece)
request to cancel building something |
void |
changeFace(SOCGame ga,
int id)
the user is changing the face image |
void |
choosePlayer(SOCGame ga,
int pn)
the user chose a player to steal from |
void |
chSend(java.lang.String ch,
java.lang.String mes)
send a text message to a channel |
void |
clearOffer(SOCGame ga)
the user is clearing an offer |
void |
connect()
Attempts to connect to the server. |
void |
considerMove(SOCGame ga,
java.lang.String pname,
SOCPlayingPiece piece)
send a command to the server with a message asking a robot to show the debug info for a possible move after a move has been made |
void |
considerTarget(SOCGame ga,
java.lang.String pname,
SOCPlayingPiece piece)
send a command to the server with a message asking a robot to show the debug info for a possible move before a move has been made |
void |
deleteFromGameList(java.lang.String gameName)
delete a game from the list |
void |
deleteFromList(java.lang.String thing,
java.awt.List lst)
delete a group |
void |
destroy()
destroy the applet |
void |
discard(SOCGame ga,
SOCResourceSet rs)
the user wants to discard |
protected void |
disconnect()
disconnect from the net |
void |
discoveryPick(SOCGame ga,
SOCResourceSet rscs)
the user picked 2 resources to discover |
boolean |
doLocalCommand(SOCGame ga,
java.lang.String cmd)
handle local client commands for games |
boolean |
doLocalCommand(java.lang.String ch,
java.lang.String cmd)
handle local client commands for channels |
void |
endTurn(SOCGame ga)
the user is done with the turn |
java.lang.String |
getAppletInfo()
applet info |
int |
getHexParameter(java.lang.String name)
Retrieve a parameter and translate to a hex value. |
java.lang.String |
getNickname()
|
protected void |
handleBCASTTEXTMSG(SOCBCastTextMsg mes)
handle a broadcast text message |
protected void |
handleBOARDLAYOUT(SOCBoardLayout mes)
handle the "board layout" message |
protected void |
handleCHANGEFACE(SOCChangeFace mes)
handle the "change face" message |
protected void |
handleCHANNELS(SOCChannels mes)
handle the "list of channels" message |
protected void |
handleCHOOSEPLAYERREQUEST(SOCChoosePlayerRequest mes)
handle the "choose player request" message |
protected void |
handleCLEAROFFER(SOCClearOffer mes)
handle the "clear offer" message |
protected void |
handleCLEARTRADEMSG(SOCClearTradeMsg mes)
handle the "clear trade message" message |
protected void |
handleDELETECHANNEL(SOCDeleteChannel mes)
handle the "delete channel" message |
protected void |
handleDELETEGAME(SOCDeleteGame mes)
handle the "delete game" message |
protected void |
handleDEVCARD(SOCDevCard mes)
handle the "development card action" message |
protected void |
handleDEVCARDCOUNT(SOCDevCardCount mes)
handle the "number of development cards" message |
protected void |
handleDICERESULT(SOCDiceResult mes)
handle the "dice result" message |
protected void |
handleDISCARDREQUEST(SOCDiscardRequest mes)
handle the "discard request" message |
protected void |
handleFIRSTPLAYER(SOCFirstPlayer mes)
handle the "first player" message |
protected void |
handleGAMEMEMBERS(SOCGameMembers mes)
handle the "game members" message |
protected void |
handleGAMES(SOCGames mes)
handle the "list of games" message |
protected void |
handleGAMESTATE(SOCGameState mes)
handle the "game state" message |
protected void |
handleGAMESTATS(SOCGameStats mes)
handle the "game stats" message |
protected void |
handleGAMETEXTMSG(SOCGameTextMsg mes)
handle the "game text message" message |
protected void |
handleJOIN(SOCJoin mes)
handle the "join channel" message |
protected void |
handleJOINAUTH(SOCJoinAuth mes)
handle the "join authorization" message |
protected void |
handleJOINGAME(SOCJoinGame mes)
handle the "join game" message |
protected void |
handleJOINGAMEAUTH(SOCJoinGameAuth mes)
handle the "join game authorization" message |
protected void |
handleLARGESTARMY(SOCLargestArmy mes)
handle the "largest army" message |
protected void |
handleLEAVE(SOCLeave mes)
handle the "leave channel" message |
protected void |
handleLEAVEGAME(SOCLeaveGame mes)
handle the "leave game" message |
protected void |
handleLONGESTROAD(SOCLongestRoad mes)
handle the "longest road" message |
protected void |
handleMAKEOFFER(SOCMakeOffer mes)
handle the "make offer" message |
protected void |
handleMEMBERS(SOCMembers mes)
handle the "members" message |
protected void |
handleMOVEROBBER(SOCMoveRobber mes)
handle the "robber moved" message |
protected void |
handleNEWCHANNEL(SOCNewChannel mes)
handle the "new channel" message |
protected void |
handleNEWGAME(SOCNewGame mes)
handle the "new game" message |
protected void |
handlePLAYERELEMENT(SOCPlayerElement mes)
handle the "player information" message |
protected void |
handlePOTENTIALSETTLEMENTS(SOCPotentialSettlements mes)
handle the "list of potential settlements" message |
protected void |
handlePUTPIECE(SOCPutPiece mes)
handle the "put piece" message |
protected void |
handleREJECTCONNECTION(SOCRejectConnection mes)
handle the "reject connection" message |
protected void |
handleREJECTOFFER(SOCRejectOffer mes)
handle the "reject offer" message |
protected void |
handleRESOURCECOUNT(SOCResourceCount mes)
handle "resource count" message |
protected void |
handleSETPLAYEDDEVCARD(SOCSetPlayedDevCard mes)
handle the "set played dev card flag" message |
protected void |
handleSETSEATLOCK(SOCSetSeatLock mes)
handle the "set seat lock" message |
protected void |
handleSETTURN(SOCSetTurn mes)
handle the "set turn" message |
protected void |
handleSITDOWN(SOCSitDown mes)
handle the "player sitting down" message |
protected void |
handleSTARTGAME(SOCStartGame mes)
handle the "start game" message |
protected void |
handleSTATUSMESSAGE(SOCStatusMessage mes)
handle the "status message" message |
protected void |
handleTEXTMSG(SOCTextMsg mes)
handle a text message |
protected void |
handleTURN(SOCTurn mes)
handle the "turn" message |
void |
init()
Initialize the applet |
protected void |
initVisualElements()
init the visual elements |
void |
leaveChannel(java.lang.String ch)
the user leaves the given channel |
void |
leaveGame(SOCGame ga)
the user leaves the given game |
void |
lockSeat(SOCGame ga,
int pn)
the user is locking a seat |
static void |
main(java.lang.String[] args)
for stand-alones |
void |
monopolyPick(SOCGame ga,
int res)
the user picked a resource to monopolize |
void |
moveRobber(SOCGame ga,
SOCPlayer pl,
int coord)
the player wants to move the robber |
void |
offerTrade(SOCGame ga,
SOCTradeOffer offer)
the user is making an offer to trade |
protected boolean |
onIgnoreList(java.lang.String name)
|
void |
playDevCard(SOCGame ga,
int dc)
the user wants to play a development card |
boolean |
put(java.lang.String s)
write a message to the net |
void |
putPiece(SOCGame ga,
SOCPlayingPiece pp)
put a piece on the board |
void |
rejectOffer(SOCGame ga)
the user is rejecting the current offers |
protected void |
removeFromIgnoreList(java.lang.String name)
remove this name from the ignore list |
void |
resend()
resend the last message |
void |
rollDice(SOCGame ga)
the user rolls the dice |
void |
run()
continuously read from the net in a separate thread |
void |
sendText(SOCGame ga,
java.lang.String me)
send a text message to the people in the game |
void |
sitDown(SOCGame ga,
int pn)
the user sits down to play |
void |
start()
Called when the applet should start it's work. |
void |
startGame(SOCGame ga)
the user is starting the game |
void |
treat(SOCMessage mes)
Treat the incoming messages |
void |
unlockSeat(SOCGame ga,
int pn)
the user is unlocking a seat |
void |
updateGameStats(java.lang.String gameName,
int[] scores,
boolean[] robots)
DOCUMENT ME! |
static void |
usage()
for stand-alones |
Methods inherited from class java.applet.Applet |
getAccessibleContext, getAppletContext, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus, stop |
Methods inherited from class java.awt.Panel |
addNotify |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, validate, validateTree |
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected static java.lang.String STATSPREFEX
protected java.awt.TextField nick
protected java.awt.TextField pass
protected java.awt.TextField status
protected java.awt.TextField channel
protected java.awt.TextField game
protected java.awt.List chlist
protected java.awt.List gmlist
protected java.awt.Button jc
protected java.awt.Button jg
protected java.awt.Label messageLabel
protected java.applet.AppletContext ac
protected java.lang.String lastMessage
protected java.awt.CardLayout cardLayout
protected java.lang.String host
protected int port
protected java.net.Socket s
protected java.io.DataInputStream in
protected java.io.DataOutputStream out
protected java.lang.Thread reader
protected java.lang.Exception ex
protected boolean connected
protected java.lang.String nickname
protected java.lang.String password
protected boolean gotPassword
protected java.util.Hashtable channels
protected java.util.Hashtable games
protected java.util.Hashtable playerInterfaces
protected java.util.Vector ignoreList
Constructor Detail |
public SOCPlayerClient()
public SOCPlayerClient(java.lang.String h, int p)
h
- hostp
- portMethod Detail |
protected void initVisualElements()
public int getHexParameter(java.lang.String name)
name
- a parameter name. null is ignored
public void start()
public void init()
public void connect()
connected
for success or
failure.
java.lang.IllegalStateException
- if already connectedpublic java.lang.String getNickname()
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public void run()
run
in interface java.lang.Runnable
public void resend()
public boolean put(java.lang.String s)
s
- the message
public void treat(SOCMessage mes)
mes
- the messageprotected void handleSTATUSMESSAGE(SOCStatusMessage mes)
mes
- the messageprotected void handleJOINAUTH(SOCJoinAuth mes)
mes
- the messageprotected void handleJOIN(SOCJoin mes)
mes
- the messageprotected void handleMEMBERS(SOCMembers mes)
mes
- the messageprotected void handleNEWCHANNEL(SOCNewChannel mes)
mes
- the messageprotected void handleCHANNELS(SOCChannels mes)
mes
- the messageprotected void handleBCASTTEXTMSG(SOCBCastTextMsg mes)
mes
- the messageprotected void handleTEXTMSG(SOCTextMsg mes)
mes
- the messageprotected void handleLEAVE(SOCLeave mes)
mes
- the messageprotected void handleDELETECHANNEL(SOCDeleteChannel mes)
mes
- the messageprotected void handleGAMES(SOCGames mes)
mes
- the messageprotected void handleJOINGAMEAUTH(SOCJoinGameAuth mes)
mes
- the messageprotected void handleJOINGAME(SOCJoinGame mes)
mes
- the messageprotected void handleLEAVEGAME(SOCLeaveGame mes)
mes
- the messageprotected void handleNEWGAME(SOCNewGame mes)
mes
- the messageprotected void handleDELETEGAME(SOCDeleteGame mes)
mes
- the messageprotected void handleGAMEMEMBERS(SOCGameMembers mes)
mes
- the messageprotected void handleGAMESTATS(SOCGameStats mes)
protected void handleGAMETEXTMSG(SOCGameTextMsg mes)
mes
- the messageprotected void handleSITDOWN(SOCSitDown mes)
mes
- the messageprotected void handleBOARDLAYOUT(SOCBoardLayout mes)
mes
- the messageprotected void handleSTARTGAME(SOCStartGame mes)
mes
- the messageprotected void handleGAMESTATE(SOCGameState mes)
mes
- the messageprotected void handleSETTURN(SOCSetTurn mes)
mes
- the messageprotected void handleFIRSTPLAYER(SOCFirstPlayer mes)
mes
- the messageprotected void handleTURN(SOCTurn mes)
mes
- the messageprotected void handlePLAYERELEMENT(SOCPlayerElement mes)
mes
- the messageprotected void handleRESOURCECOUNT(SOCResourceCount mes)
mes
- the messageprotected void handleDICERESULT(SOCDiceResult mes)
mes
- the messageprotected void handlePUTPIECE(SOCPutPiece mes)
mes
- the messageprotected void handleMOVEROBBER(SOCMoveRobber mes)
mes
- the messageprotected void handleDISCARDREQUEST(SOCDiscardRequest mes)
mes
- the messageprotected void handleCHOOSEPLAYERREQUEST(SOCChoosePlayerRequest mes)
mes
- the messageprotected void handleMAKEOFFER(SOCMakeOffer mes)
mes
- the messageprotected void handleCLEAROFFER(SOCClearOffer mes)
mes
- the messageprotected void handleREJECTOFFER(SOCRejectOffer mes)
mes
- the messageprotected void handleCLEARTRADEMSG(SOCClearTradeMsg mes)
mes
- the messageprotected void handleDEVCARDCOUNT(SOCDevCardCount mes)
mes
- the messageprotected void handleDEVCARD(SOCDevCard mes)
mes
- the messageprotected void handleSETPLAYEDDEVCARD(SOCSetPlayedDevCard mes)
mes
- the messageprotected void handlePOTENTIALSETTLEMENTS(SOCPotentialSettlements mes)
mes
- the messageprotected void handleCHANGEFACE(SOCChangeFace mes)
mes
- the messageprotected void handleREJECTCONNECTION(SOCRejectConnection mes)
mes
- the messageprotected void handleLONGESTROAD(SOCLongestRoad mes)
mes
- the messageprotected void handleLARGESTARMY(SOCLargestArmy mes)
mes
- the messageprotected void handleSETSEATLOCK(SOCSetSeatLock mes)
mes
- the messagepublic void addToGameList(java.lang.String thing)
thing
- the thing to add to the listpublic void addToList(java.lang.String thing, java.awt.List lst)
thing
- the thing to add to the listlst
- the listpublic void updateGameStats(java.lang.String gameName, int[] scores, boolean[] robots)
gameName
- DOCUMENT ME!scores
- DOCUMENT ME!robots
- DOCUMENT ME!public void deleteFromGameList(java.lang.String gameName)
gameName
- the game to removepublic void deleteFromList(java.lang.String thing, java.awt.List lst)
thing
- the thing to removelst
- the listpublic void chSend(java.lang.String ch, java.lang.String mes)
ch
- the name of the channelmes
- the messagepublic void leaveChannel(java.lang.String ch)
ch
- the name of the channelprotected void disconnect()
public void buyDevCard(SOCGame ga)
ga
- the gamepublic void buildRequest(SOCGame ga, int piece)
ga
- the gamepiece
- the type of piece from SOCPlayingPiecepublic void cancelBuildRequest(SOCGame ga, int piece)
ga
- the gamepiece
- the type of piece from SOCPlayingPiecepublic void putPiece(SOCGame ga, SOCPlayingPiece pp)
ga
- the game where the action is taking placepp
- the piece being placedpublic void moveRobber(SOCGame ga, SOCPlayer pl, int coord)
ga
- the gamepl
- the playercoord
- where the player wants the robberpublic void sendText(SOCGame ga, java.lang.String me)
ga
- the gameme
- the messagepublic void leaveGame(SOCGame ga)
ga
- the gamepublic void sitDown(SOCGame ga, int pn)
ga
- the gamepn
- the number of the seat where the user wants to sitpublic void startGame(SOCGame ga)
ga
- the gamepublic void rollDice(SOCGame ga)
ga
- the gamepublic void endTurn(SOCGame ga)
ga
- the gamepublic void discard(SOCGame ga, SOCResourceSet rs)
ga
- the gamepublic void choosePlayer(SOCGame ga, int pn)
ga
- the gamepn
- the player idpublic void rejectOffer(SOCGame ga)
ga
- the gamepublic void acceptOffer(SOCGame ga, int from)
ga
- the gamefrom
- the number of the player that is making the offerpublic void clearOffer(SOCGame ga)
ga
- the gamepublic void bankTrade(SOCGame ga, SOCResourceSet give, SOCResourceSet get)
ga
- the gamegive
- what is being offeredget
- what the player wantspublic void offerTrade(SOCGame ga, SOCTradeOffer offer)
ga
- the gameoffer
- the trade offerpublic void playDevCard(SOCGame ga, int dc)
ga
- the gamedc
- the type of development cardpublic void discoveryPick(SOCGame ga, SOCResourceSet rscs)
ga
- the gamerscs
- the resourcespublic void monopolyPick(SOCGame ga, int res)
ga
- the gameres
- the resourcepublic void changeFace(SOCGame ga, int id)
ga
- the gameid
- the image idpublic void lockSeat(SOCGame ga, int pn)
ga
- the gamepn
- the seat numberpublic void unlockSeat(SOCGame ga, int pn)
ga
- the gamepn
- the seat numberpublic boolean doLocalCommand(java.lang.String ch, java.lang.String cmd)
public boolean doLocalCommand(SOCGame ga, java.lang.String cmd)
protected boolean onIgnoreList(java.lang.String name)
protected void addToIgnoreList(java.lang.String name)
name
- the name to addprotected void removeFromIgnoreList(java.lang.String name)
name
- the name to removepublic void considerMove(SOCGame ga, java.lang.String pname, SOCPlayingPiece piece)
ga
- the gamepname
- the robot namepiece
- the piece to considerpublic void considerTarget(SOCGame ga, java.lang.String pname, SOCPlayingPiece piece)
ga
- the gamepname
- the robot namepiece
- the piece to considerpublic java.lang.String getAppletInfo()
public void destroy()
public static void usage()
public static void main(java.lang.String[] args)
|
JSettlers v1.0.6 API Built ${date} |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |