/nix/store/rr0r40cw3mzzbz0sxrnkvnrjpzb82wpc-j27cjzgh5nmq3y8k6hwa6zpi3qgcjia8-source/src/controllers/playercontroller.h
Line | Count | Source |
1 | | #pragma once |
2 | | #include <string> |
3 | | #include <vector> |
4 | | |
5 | | #include "types/event.h" |
6 | | #include "types/piecetype.h" |
7 | | #include "types/winds.h" |
8 | | |
9 | | namespace mahjong { |
10 | | |
11 | | class PlayerController { |
12 | | public: |
13 | 64 | virtual ~PlayerController() noexcept = default; |
14 | | virtual void GameStart(int player_id) = 0; |
15 | | virtual void RoundStart(std::vector<Piece> hand, Wind seat_wind, |
16 | | Wind prevalent_wind) = 0; |
17 | | virtual void ReceiveEvent(Event e) = 0; |
18 | | virtual Event RetrieveDecision() = 0; |
19 | | virtual std::string Name() = 0; |
20 | | }; |
21 | | |
22 | | } // namespace mahjong |