Libsaki
Core library of Pancake Mahjong
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:
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
Definition: mount.h:54
Definition: achiga_ako.h:13
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
Definition: table.h:87
Definition: tile.h:25
Definition: tile_count.h:17
Definition: ai.cpp:18
Definition: girl.h:212
Definition: who.h:14