Jadex 0.96

jadex.examples.puzzle
Class Piece

java.lang.Object
  extended by jadex.examples.puzzle.Piece
All Implemented Interfaces:
Serializable

public class Piece
extends Object
implements Serializable

A piece for playing.

See Also:
Serialized Form

Constructor Summary
Piece(boolean is_white)
          Create a new board.
 
Method Summary
 boolean isWhite()
          Test, if it is a white piece.
 String toString()
          Get the string representation.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Piece

public Piece(boolean is_white)
Create a new board.

Method Detail

isWhite

public boolean isWhite()
Test, if it is a white piece.

Returns:
True, if it a white piece.

toString

public String toString()
Get the string representation.

Overrides:
toString in class Object
Returns:
The string representation.

Jadex 0.96

Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples.

Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.