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

Public Types

enum  Exit {
  PII, RINSHAN, DORAHYOU, URAHYOU,
  NUM_EXITS
}
 

Public Member Functions

 Mount (TileCount::AkadoraCount fillMode)
 
 Mount (const Mount &copy)=default
 
Mountoperator= (const Mount &assign)=default
 
void initFill (util::Rand &rand, TileCount &init, Exist &exist)
 
const T37initPopExact (const T37 &t)
 
T37 pop (util::Rand &rand, bool rinshan=false)
 
int remainPii () const
 
int remainRinshan () const
 
int remainA (T34 t) const
 
int remainA (const T37 &t) const
 
const util::Stactor< T37, 5 > & getDrids () const
 
const util::Stactor< T37, 5 > & getUrids () const
 
const TileCountgetStockA () const
 
void lightA (T34 t, int delta, bool rinshan=false)
 
void lightA (const T37 &t, int delta, bool rinshan=false)
 
void lightB (T34 t, int delta, bool rinshan=false)
 
void lightB (const T37 &t, int delta, bool rinshan=false)
 
void incMk (Exit exit, size_t pos, T34 t, int delta, bool bSpace)
 
void incMk (Exit exit, size_t pos, const T37 &t, int delta, bool bSpace)
 
void collapse (Exit exit, std::size_t pos, const T37 &t)
 
void loadB (const T37 &t, int count)
 
void flipIndic (util::Rand &rand)
 
void digIndic (util::Rand &rand)
 

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