net.sourceforge.simplegamenet.connectaline
Class CALPlayerClient
java.lang.Object
net.sourceforge.simplegamenet.specs.GamePlayerClient
net.sourceforge.simplegamenet.connectaline.CALPlayerClient
- All Implemented Interfaces:
- net.sourceforge.simplegamenet.connectaline.CALPacketCodes
- public class CALPlayerClient
- extends net.sourceforge.simplegamenet.specs.GamePlayerClient
- implements net.sourceforge.simplegamenet.connectaline.CALPacketCodes
Fields inherited from class net.sourceforge.simplegamenet.specs.GamePlayerClient |
clientEngine |
Constructor Summary |
CALPlayerClient(net.sourceforge.simplegamenet.specs.ClientEngine clientEngine)
|
Methods inherited from class net.sourceforge.simplegamenet.specs.GamePlayerClient |
close, gameStarted, gameStopped, playerAdded, playerSettingsUpdated |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INIT
public static final int INIT
- See Also:
- Constant Field Values
RESULT_TURN_BY_PLAYER
public static final int RESULT_TURN_BY_PLAYER
- See Also:
- Constant Field Values
RESULT_TURN_BY_CLIENT
public static final int RESULT_TURN_BY_CLIENT
- See Also:
- Constant Field Values
MAKE_MOVE_BY_PLAYER
public static final int MAKE_MOVE_BY_PLAYER
- See Also:
- Constant Field Values
MAKE_MOVE_BY_CLIENT
public static final int MAKE_MOVE_BY_CLIENT
- See Also:
- Constant Field Values
WINNER
public static final int WINNER
- See Also:
- Constant Field Values
REMISE
public static final int REMISE
- See Also:
- Constant Field Values
PLAY_FIELD
public static final int PLAY_FIELD
- See Also:
- Constant Field Values
CALPlayerClient
public CALPlayerClient(net.sourceforge.simplegamenet.specs.ClientEngine clientEngine)
createGamePanel
public net.sourceforge.simplegamenet.specs.GamePanel createGamePanel(net.sourceforge.simplegamenet.specs.UtilityPanelFactory utilityPanelFactory)
playerRemoved
public void playerRemoved(net.sourceforge.simplegamenet.specs.PlayerSettings playerSettings)
receiveData
public void receiveData(Serializable data)
getCALSettings
public CALSettings getCALSettings()
gameSettingsUpdated
public void gameSettingsUpdated(net.sourceforge.simplegamenet.specs.GameSettings outdatedGameSettings,
net.sourceforge.simplegamenet.specs.GameSettings updatedGameSettings)
getParticipantAtTurnPlayerID
public Integer getParticipantAtTurnPlayerID()
getCALPlayerAmount
public int getCALPlayerAmount()
getCALPlayerNickname
public String getCALPlayerNickname(Integer CALPlayerID)
getCALPlayerID
public Integer getCALPlayerID()
sendCALPacket
public void sendCALPacket(CALPacket cALPacket)
getParticipantsOrder
public Integer[] getParticipantsOrder()
getCALPlayField
public CALPlayField getCALPlayField()
isGameStarted
public boolean isGameStarted()
getColorIndexArray
public int[] getColorIndexArray()
getColors
public Color[] getColors()
gameAborted
public void gameAborted()
Copyright © 2003-2004 The 3 Belgians. All Rights Reserved.