Libsaki
Core library of Pancake Mahjong
girl
kiyosumi_yuuki.h
1
#ifndef SAKI_GIRL_KIYOSUMI_YUUKI_H
2
#define SAKI_GIRL_KIYOSUMI_YUUKI_H
3
4
#include "../table/girl.h"
5
6
7
8
namespace
saki
9
{
10
11
12
13
class
Yuuki
:
public
GirlCrtp
<Yuuki>
14
{
15
public
:
16
using
GirlCrtp<Yuuki>::GirlCrtp
;
17
bool
checkInit(
Who
who,
const
Hand
&init,
const
Table
&table,
int
iter)
override
;
18
void
onDraw
(
const
Table
&table,
Mount
&mount,
Who
who,
bool
rinshan)
override
;
19
void
onChooseFirstDealer(
util::Rand
&rand,
Who
tempDealer,
int
&die1,
int
&die2)
override
;
20
};
21
22
23
24
}
// namespace saki
25
26
27
28
#endif // SAKI_GIRL_KIYOSUMI_YUUKI_H
saki::Yuuki
Definition:
kiyosumi_yuuki.h:13
saki::Mount
Definition:
mount.h:54
saki::Table
Definition:
table.h:87
saki::util::Rand
Definition:
rand.h:19
saki::Yuuki::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:
kiyosumi_yuuki.cpp:23
saki
Definition:
ai.cpp:18
saki::Hand
Definition:
hand.h:17
saki::GirlCrtp
Definition:
girl.h:212
saki::Who
Definition:
who.h:14
Generated by
1.8.13