Libsaki
Core library of Pancake Mahjong
Public Types | Public Member Functions | Static Public Member Functions | List of all members
saki::M37 Class Reference

Public Types

enum  Type {
  CHII, PON, DAIMINKAN, ANKAN,
  KAKAN
}
 

Public Member Functions

 M37 (const M37 &copy)=default
 
M37operator= (const M37 &assign)=default
 
void kakan (const T37 &x)
 
Type type () const
 
int layIndex () const
 
unsigned uLayIndex () const
 
const util::Stactor< T37, 4 > & tiles () const
 
const T37operator[] (int i) const
 
bool isCpdmk () const
 
bool isKan () const
 
bool has (T34 t) const
 

Static Public Member Functions

static M37 chii (const T37 &l, const T37 &m, const T37 &r, int lay)
 
static M37 pon (const T37 &l, const T37 &m, const T37 &r, int lay)
 
static M37 daiminkan (const T37 &l, const T37 &m, const T37 &r, const T37 &x, int lay)
 
static M37 ankan (const T37 &l, const T37 &m, const T37 &r, const T37 &x)
 

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