Coverage Report

Created: 2025-09-03 03:49

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