Libsaki
Core library of Pancake Mahjong
x_uta.h
1 #ifndef SAKI_GIRL_X_UTA_H
2 #define SAKI_GIRL_X_UTA_H
3 
4 #include "../table/girl.h"
5 
6 
7 
8 namespace saki
9 {
10 
11 
12 
13 class Uta : public GirlCrtp<Uta>
14 {
15 public:
17  void onDraw(const Table &table, Mount &mount, Who who, bool rinshan) override;
18 
19 private:
20  void power3sk(const Hand &hand, const River &river, Mount &mount);
21  bool tryPowerDye(const Hand &hand, Mount &mount);
22 };
23 
24 
25 
26 } // namespace saki
27 
28 
29 
30 #endif // SAKI_GIRL_X_UTA_H
Definition: x_uta.h:13
Definition: mount.h:54
Definition: table.h:87
Definition: ai.cpp:18
Definition: hand.h:17
Stactor = statically allocated vector.
Definition: stactor.h:247
Definition: girl.h:212
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_uta.cpp:13
Definition: who.h:14