Libsaki
Core library of Pancake Mahjong
himematsu_kyouko.h
1 #ifndef SAKI_GIRL_HIMEMATSU_KYOUKO_H
2 #define SAKI_GIRL_HIMEMATSU_KYOUKO_H
3 
4 #include "../table/girl.h"
5 
6 
7 
8 namespace saki
9 {
10 
11 
12 
13 class Kyouko : public GirlCrtp<Kyouko>
14 {
15 public:
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 
20 private:
21  enum Course { NONE, TANYAO, YAKUHAI };
22 
23  Course mCourse;
24 };
25 
26 
27 
28 } // namespace saki
29 
30 
31 
32 #endif // SAKI_GIRL_HIMEMATSU_KYOUKO_H
Definition: mount.h:54
Definition: table.h:87
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: himematsu_kyouko.cpp:44
Definition: ai.cpp:18
Definition: hand.h:17
Definition: girl.h:212
Definition: himematsu_kyouko.h:13
Definition: who.h:14