|
My Project
|
差が uniqになるような座標の差分. More...
#include <offset32.h>
Public Member Functions | |
| Offset32Base (Square to, Square from) | |
| Offset32Base (int dx, int dy) | |
| unsigned int | index () const |
| bool | isValid () const |
| template<Player P> | |
| const Offset32Base | blackOffset32 () const |
| Player P からみた offset を黒番のものに変更する | |
| const Offset32Base | operator- () const |
Static Public Attributes | |
| static const unsigned int | SIZE =(MAX-MIN+1) |
Private Types | |
| enum | { MIN = -(Width*32+Width) , MAX = (Width*32+Width) } |
Private Member Functions | |
| Offset32Base (int o) | |
| int | dx (Offset32Base offset32) |
| int | dy (Offset32Base offset32) |
Private Attributes | |
| int | offset32 |
差が uniqになるような座標の差分.
x*32+y同士の差を取る ちょっとだけ溢れても良い
Definition at line 16 of file offset32.h.
|
private |
| Enumerator | |
|---|---|
| MIN | |
| MAX | |
Definition at line 18 of file offset32.h.
|
inlineexplicitprivate |
Definition at line 26 of file offset32.h.
Referenced by osl::Offset32Base< 8, 9 >::blackOffset32(), and osl::Offset32Base< 8, 9 >::operator-().
|
inline |
Definition at line 30 of file offset32.h.
|
inline |
Definition at line 37 of file offset32.h.
|
inline |
Player P からみた offset を黒番のものに変更する
Definition at line 52 of file offset32.h.
Referenced by osl::BoardTable::getLongDirection().
|
private |
|
private |
|
inline |
Definition at line 40 of file offset32.h.
Referenced by osl::progress::Effect5x3Table::countShortEffect(), osl::PtypeTable::effect(), osl::effect_util::Neighboring8Direct::Table::findNearest(), osl::progress::Effect5x3Table::getBlockEffect(), osl::PtypeTable::getEffect(), osl::PtypeTable::getEffectNotLongU(), osl::BoardTable::getLongDirection(), osl::progress::Effect5x3Table::getLongEffect(), osl::BoardTable::getShortOffset(), osl::BoardTable::getShortOffsetNotKnight(), osl::effect_util::Neighboring8Direct::Table::hasEffect(), osl::effect_util::Neighboring8Direct::Table::hasEffectOrAdditional(), osl::effect_util::Neighboring8Direct::Table::init(), osl::PtypeTable::init(), osl::BoardTable::setDirections(), osl::BoardTable::setKnightDirections(), osl::progress::Effect5x3Table::setupBlockEffect(), osl::progress::Effect5x3Table::setupLongEffect(), osl::progress::Effect5x3Table::setupShortEffect(), and osl::BoardTable::spaceCounts().
|
inline |
Definition at line 44 of file offset32.h.
Referenced by osl::BoardTable::getLongDirection(), osl::BoardTable::getShortOffset(), and osl::BoardTable::getShortOffsetNotKnight().
|
inline |
Definition at line 55 of file offset32.h.
|
private |
Definition at line 25 of file offset32.h.
|
static |
Definition at line 23 of file offset32.h.