Libsaki
Core library of Pancake Mahjong
girl
x_yue.h
1
#ifndef SAKI_GIRL_X_YUE_H
2
#define SAKI_GIRL_X_YUE_H
3
4
#include "../table/girl.h"
5
6
7
8
namespace
saki
9
{
10
11
12
13
class
Yue
:
public
GirlCrtp
<Yue>
14
{
15
public
:
16
using
GirlCrtp<Yue>::GirlCrtp
;
17
void
onDraw
(
const
Table
&table,
Mount
&mount,
Who
who,
bool
rinshan)
override
;
18
19
private
:
20
void
dye(
const
TileCount
&closed,
Mount
&mount,
int
mk);
21
bool
dyed(
const
Hand
&hand);
22
int
countGuest(
const
Hand
&hand,
T34
g);
23
};
24
25
26
27
}
// namespace saki
28
29
30
31
#endif // SAKI_GIRL_X_YUE_H
saki::Yue
Definition:
x_yue.h:13
saki::Mount
Definition:
mount.h:54
saki::Table
Definition:
table.h:87
saki::T34
Definition:
tile.h:25
saki::TileCount
Definition:
tile_count.h:17
saki
Definition:
ai.cpp:18
saki::Hand
Definition:
hand.h:17
saki::GirlCrtp
Definition:
girl.h:212
saki::Yue::onDraw
void onDraw(const Table &table, Mount &mount, Who who, bool rinshan) override
Called when someone is about to draw a tile from the mountain.
Definition:
x_yue.cpp:15
saki::Who
Definition:
who.h:14
Generated by
1.8.13