|
Libsaki
Core library of Pancake Mahjong
|
Comeld, a meld or a part of a meld. More...
#include <comeld.h>
Public Types | |
| enum | Type { SEQ, TRI, BIFACE, CLAMP, SIDE, PAIR, FREE } |
Public Member Functions | |
| C34 () | |
| Garbage value. | |
| C34 (Type type, T34 head) | |
| C34 (const C34 ©)=default | |
| C34 & | operator= (const C34 &assign)=default |
| Type | type () const |
| T34 | head () const |
| int | work () const |
| util::Stactor< T34, 3 > | t34s () const |
| util::Stactor< T34, 5 > | effA4 () const |
| Get first-class effective tiles assuming this comeld is a waiter. | |
| bool | has (T34 t) const |
| bool | is3 () const |
| bool | is2 () const |
| bool | isSeq2 () const |
| util::Stactor< T34, 3 > | tilesTo (const C34 &that) const |
| Tiles needed to transform from this into that. | |
| util::Stactor< T34, 3 > | tilesTo (const util::Stactor< T34, 3 > &tar) const |
| Tiles needed to form this to tar. | |
| bool | operator== (const C34 &that) const |
| bool | operator!= (const C34 &that) const |
| bool | operator< (const C34 &that) const |
Comeld, a meld or a part of a meld.
|
strong |
SEQ: sequence, 123m TRI: triplet, 111m BIFACE: biface-waiter, 23m CLAMP: clamp-waiter, 13m SIDE: side-waiter, 12m PAIR: pair, either triplet-waiter or bird-head, 11m FREE: single floating tile, 1m
1.8.13