lib.shogi
クラス Kyokumen.RollbackEntry

java.lang.Object
  上位を拡張 lib.shogi.Kyokumen.RollbackEntry
含まれているクラス:
Kyokumen

private static class Kyokumen.RollbackEntry
extends java.lang.Object

一手分のロールバック情報を保持するエントリー。

導入されたバージョン:
1.0
バージョン:
1.0
作成者:
森岡 祐一 ( Morioka Yuichi )

フィールドの概要
 int postMasuInfo
          移動後のマス情報。
 int postX
          移動後の筋。
 int postY
          移動後の段。
 int preKomaInfo
          移動前の駒情報。
 int preX
          移動前の筋。
 int preY
          移動前の段。
 
コンストラクタの概要
Kyokumen.RollbackEntry(int preX, int preY, int preKomaInfo, int postX, int postY, int postMasuInfo)
          各種情報を指定して、新しいインスタンスを生成する。
 
メソッドの概要
 java.lang.String toString()
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

preX

public final int preX
移動前の筋。


preY

public final int preY
移動前の段。


preKomaInfo

public final int preKomaInfo
移動前の駒情報。


postX

public final int postX
移動後の筋。


postY

public final int postY
移動後の段。


postMasuInfo

public final int postMasuInfo
移動後のマス情報。

コンストラクタの詳細

Kyokumen.RollbackEntry

public Kyokumen.RollbackEntry(int preX,
                              int preY,
                              int preKomaInfo,
                              int postX,
                              int postY,
                              int postMasuInfo)
各種情報を指定して、新しいインスタンスを生成する。

パラメータ:
preX - 移動前の筋。
preY - 移動前の段。
preKomaInfo - 移動前の駒情報。
postX - 移動後の筋。
postY - 移動後の段。
postMasuInfo - 移動後のマス情報。
メソッドの詳細

toString

public java.lang.String toString()
オーバーライド:
クラス java.lang.Object 内の toString