net.sourceforge.simplegamenet.connectaline
Class CALPlayField

java.lang.Object
  extended bynet.sourceforge.simplegamenet.connectaline.CALPlayField
All Implemented Interfaces:
Serializable

public class CALPlayField
extends Object
implements Serializable

See Also:
Serialized Form

Method Summary
 Integer getParticipantAtTurnPlayerID()
           
 Integer[] getParticipantsOrder()
           
 Integer getSquarePlayerID(int i, int j)
           
 boolean isMoveAllowedAnyEmptySpot(int x, int y)
           
 boolean isMoveAllowedGravity(int x, int y)
           
 boolean isOccupied(int i, int j)
           
 boolean isRemise()
           
 boolean isWinner(int x, int y)
           
 void makeMove(int x, int y, Integer playerID)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isMoveAllowedGravity

public boolean isMoveAllowedGravity(int x,
                                    int y)

isMoveAllowedAnyEmptySpot

public boolean isMoveAllowedAnyEmptySpot(int x,
                                         int y)

isWinner

public boolean isWinner(int x,
                        int y)

isRemise

public boolean isRemise()

makeMove

public void makeMove(int x,
                     int y,
                     Integer playerID)

getSquarePlayerID

public Integer getSquarePlayerID(int i,
                                 int j)

isOccupied

public boolean isOccupied(int i,
                          int j)

getParticipantAtTurnPlayerID

public Integer getParticipantAtTurnPlayerID()

getParticipantsOrder

public Integer[] getParticipantsOrder()


Copyright © 2003-2004 The 3 Belgians. All Rights Reserved.