ここにはそのうち独立した解説になるべき内容をメモ形式で置くことにします.


オブジェクトの作り方

(テストなどで)初期値を指定してオブジェクトを作りたいときにはどうするか?

PositionnewPosition (const int x, const int y)http://gps.tanaka.ecc.u-tokyo.ac.jp/osl/osl/doc/html/namespaceosl.html#a138Doxygen:newPosition
PtypeOnewPtypeO (Player player, Ptype ptype)http://gps.tanaka.ecc.u-tokyo.ac.jp/osl/osl/doc/html/namespaceosl.html#a329Doxygen:newPtypeO
MovenewMove (Position from, Position to, Ptype ptype, Ptype capturePtype, bool isPromoteMove?, Player player)http://gps.tanaka.ecc.u-tokyo.ac.jp/osl/osl/doc/html/namespaceosl.html#a221Doxygen:newMove



トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS