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

Public Member Functions

 ParsedView4Ready (const Parsed4 &parsed)
 
const Parsed4getParsed () const
 
util::Stactor< T34, 2 > getIsoriders () const
 Get the possible isorider of this waiting hand. More...
 
util::Stactor< T34, 2 > get1s () const
 
util::Stactor< C34, 2 > get2s () const
 Get 2-tile comelds in this parse result. More...
 

Member Function Documentation

◆ get2s()

util::Stactor< C34, 2 > saki::ParsedView4Ready::get2s ( ) const

Get 2-tile comelds in this parse result.

Returns
Empty stacktor if the parse result in in isoride form; Size-2 stactor if in sequence-waiting or bi-bump form.

◆ getIsoriders()

util::Stactor< T34, 2 > saki::ParsedView4Ready::getIsoriders ( ) const

Get the possible isorider of this waiting hand.

Returns
One isorider tile if the hand is in 13 - 3k isoride form; Two isorider candidates if the hand is in 14 - 3k isoride form; Empty if the hand is not in isoride form.

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