net.sourceforge.simplegamenet.connectaline
Class CALPlayerClient

java.lang.Object
  extended bynet.sourceforge.simplegamenet.specs.GamePlayerClient
      extended bynet.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


Field Summary
static int INIT
           
static int MAKE_MOVE_BY_CLIENT
           
static int MAKE_MOVE_BY_PLAYER
           
static int PLAY_FIELD
           
static int REMISE
           
static int RESULT_TURN_BY_CLIENT
           
static int RESULT_TURN_BY_PLAYER
           
static int WINNER
           
 
Fields inherited from class net.sourceforge.simplegamenet.specs.GamePlayerClient
clientEngine
 
Constructor Summary
CALPlayerClient(net.sourceforge.simplegamenet.specs.ClientEngine clientEngine)
           
 
Method Summary
 net.sourceforge.simplegamenet.specs.GamePanel createGamePanel(net.sourceforge.simplegamenet.specs.UtilityPanelFactory utilityPanelFactory)
           
 void gameAborted()
           
 void gameSettingsUpdated(net.sourceforge.simplegamenet.specs.GameSettings outdatedGameSettings, net.sourceforge.simplegamenet.specs.GameSettings updatedGameSettings)
           
 int getCALPlayerAmount()
           
 Integer getCALPlayerID()
           
 String getCALPlayerNickname(Integer CALPlayerID)
           
 CALPlayField getCALPlayField()
           
 CALSettings getCALSettings()
           
 int[] getColorIndexArray()
           
 Color[] getColors()
           
 Integer getParticipantAtTurnPlayerID()
           
 Integer[] getParticipantsOrder()
           
 boolean isGameStarted()
           
 void playerRemoved(net.sourceforge.simplegamenet.specs.PlayerSettings playerSettings)
           
 void receiveData(Serializable data)
           
 void sendCALPacket(CALPacket cALPacket)
           
 
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
 

Field Detail

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
Constructor Detail

CALPlayerClient

public CALPlayerClient(net.sourceforge.simplegamenet.specs.ClientEngine clientEngine)
Method Detail

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.