Libsaki
Core library of Pancake Mahjong
table
table_view_hand.h
1
#ifndef SAKI_TABLE_VIEW_HAND_H
2
#define SAKI_TABLE_VIEW_HAND_H
3
4
#include "table_view_real.h"
5
6
7
8
namespace
saki
9
{
10
11
12
13
class
TableViewHand
:
public
TableViewReal
14
{
15
public
:
16
explicit
TableViewHand
(
const
Table
&table,
const
Hand
&hand,
Who
self
);
17
TableViewHand
(
const
TableViewHand
©) =
default
;
18
19
const
Choices
&myChoices()
const override
;
20
const
Hand
&myHand()
const override
;
21
22
private
:
23
const
Hand
&mHand;
24
Choices
mChoices;
25
};
26
27
28
29
}
// namespace saki
30
31
32
33
#endif // SAKI_TABLE_VIEW_HAND_H
saki::Table
Definition:
table.h:87
saki::Choices
Choice set of one player.
Definition:
choices.h:122
saki
Definition:
ai.cpp:18
saki::TableViewReal
Definition:
table_view_real.h:18
saki::Hand
Definition:
hand.h:17
saki::TableViewHand
Definition:
table_view_hand.h:13
saki::Who
Definition:
who.h:14
Generated by
1.8.13