Libsaki
Core library of Pancake Mahjong
miyamori_toyone.h
1 #ifndef SAKI_GIRL_MIYAMORI_TOYONE_H
2 #define SAKI_GIRL_MIYAMORI_TOYONE_H
3 
4 #include "../table/girl.h"
5 
6 
7 
8 namespace saki
9 {
10 
11 
12 
13 class Toyone : public GirlCrtp<Toyone>
14 {
15 public:
17 
18  void onDice(util::Rand &rand, const Table &table) override;
19  void onDraw(const Table &table, Mount &mount, Who who, bool rinshan) override;
20 
21  void onTableEvent(const Table &table, const TableEvent &event) override;
22 
23 private:
24  Who mFirstRiichi;
25 };
26 
27 
28 
29 } // namespace saki
30 
31 
32 
33 #endif // SAKI_GIRL_MIYAMORI_TOYONE_H
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: miyamori_toyone.cpp:20
Definition: table_event.h:23
Definition: mount.h:54
Definition: miyamori_toyone.h:13
Definition: table.h:87
Definition: rand.h:19
void onDice(util::Rand &rand, const Table &table) override
Called when someone is about to dice.
Definition: miyamori_toyone.cpp:12
Definition: ai.cpp:18
Definition: girl.h:212
Definition: who.h:14