Libsaki
Core library of Pancake Mahjong
girl
achiga_ako.h
1
#ifndef SAKI_GIRL_ACHIGA_AKO_H
2
#define SAKI_GIRL_ACHIGA_AKO_H
3
4
#include "../table/girl.h"
5
6
7
8
namespace
saki
9
{
10
11
12
13
class
Ako
:
public
GirlCrtp
<Ako>
14
{
15
public
:
16
using
GirlCrtp<Ako>::GirlCrtp
;
17
void
onDraw
(
const
Table
&table,
Mount
&mount,
Who
who,
bool
rinshan)
override
;
18
19
private
:
20
static
int
sskDist(
const
TileCount
&closed,
T34
head);
21
static
int
ittDist(
const
TileCount
&closed,
T34
head);
22
static
void
oneDragTwo(
Mount
&mount,
const
TileCount
&closed,
T34
head);
23
static
void
thinFill(
Mount
&mount,
const
TileCount
&closed,
T34
heads);
24
};
25
26
27
28
}
// namespace saki
29
30
31
32
#endif // SAKI_GIRL_ACHIGA_AKO_H
saki::Mount
Definition:
mount.h:54
saki::Ako
Definition:
achiga_ako.h:13
saki::Ako::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:
achiga_ako.cpp:15
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::GirlCrtp
Definition:
girl.h:212
saki::Who
Definition:
who.h:14
Generated by
1.8.13