chesspresso.game
Class GameModel
java.lang.Object
|
+--chesspresso.game.GameModel
- public class GameModel
- extends java.lang.Object
- Version:
- $Revision: 1.1 $
- Author:
- Bernhard Seybold
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
GameModel
public GameModel()
GameModel
public GameModel(GameHeaderModel headerModel,
GameMoveModel moveModel)
GameModel
public GameModel(java.io.DataInput in,
int headerMode,
int movesMode)
throws java.io.IOException
getHeaderModel
public GameHeaderModel getHeaderModel()
getMoveModel
public GameMoveModel getMoveModel()
load
public void load(java.io.DataInput in,
int headerMode,
int movesMode)
throws java.io.IOException
java.io.IOException
save
public void save(java.io.DataOutput out,
int headerMode,
int movesMode)
throws java.io.IOException
java.io.IOException
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object