ChessMovepublic class ChessMove extends Object implements SerializableSource code from "Java Distributed Computing", by Jim Farley.
Class: ChessMove
Example: 6-8
Description: Encapsulation of a chess move. |
Fields Summary |
---|
String | fromPos | String | toPos | int | checkFlag |
Constructors Summary |
---|
public ChessMove(String from, String to, int ckFlag)
fromPos = from;
toPos = to;
checkFlag = ckFlag;
|
|