My Project
Public Member Functions | Private Attributes | List of all members
osl::mobility::MobilityContent Class Reference

駒毎に指定の方向の利きを持つ最後のSquare. More...

#include <mobilityTable.h>

Public Member Functions

 MobilityContent ()
 
void clear ()
 
const Square get (Direction d) const
 
void set (Direction d, Square pos)
 

Private Attributes

V4 v
 

Detailed Description

駒毎に指定の方向の利きを持つ最後のSquare.

自分の駒への利きも含む EDGEまでいく 方向は「黒」から見た方向に固定 そもそもそちらに利きがない場合やSTANDにある場合は0

Definition at line 29 of file mobilityTable.h.

Constructor & Destructor Documentation

◆ MobilityContent()

osl::mobility::MobilityContent::MobilityContent ( )
inline

Definition at line 33 of file mobilityTable.h.

References clear().

Member Function Documentation

◆ clear()

void osl::mobility::MobilityContent::clear ( )
inline

Definition at line 36 of file mobilityTable.h.

References osl::mobility::V4::lv, and v.

Referenced by MobilityContent().

◆ get()

const Square osl::mobility::MobilityContent::get ( Direction  d) const
inline

Definition at line 39 of file mobilityTable.h.

References osl::Square::makeDirect(), osl::mobility::V4::uc, and v.

Referenced by osl::mobility::operator<<().

◆ set()

void osl::mobility::MobilityContent::set ( Direction  d,
Square  pos 
)
inline

Definition at line 42 of file mobilityTable.h.

References osl::mobility::V4::uc, osl::Square::uintValue(), and v.

Member Data Documentation

◆ v

V4 osl::mobility::MobilityContent::v
private

Definition at line 31 of file mobilityTable.h.

Referenced by clear(), get(), and set().


The documentation for this class was generated from the following file: