GameAgent.hpp
Go to the documentation of this file.
1 // Copyright (c) 2019 Chris Ohk, Youngjoong Kim, SeungHyun Jeon
2 
3 // We are making my contributions/submissions to this project solely in our
4 // personal capacity and are not conveying any rights to any intellectual
5 // property of any third parties.
6 
7 #ifndef ROSETTASTONE_GAME_AGENT_HPP
8 #define ROSETTASTONE_GAME_AGENT_HPP
9 
10 #include <Rosetta/Games/Game.hpp>
11 
12 namespace RosettaStone
13 {
19 class GameAgent : public Game
20 {
21  public:
26  GameAgent(GameConfig& gameConfig, IPolicy* p1Policy, IPolicy* p2Policy);
27 
29  void BeginFirst() override;
30 
32  void BeginShuffle() override;
33 
35  void BeginDraw() override;
36 
38  void BeginMulligan() override;
39 
41  void MainBegin() override;
42 
44  void MainReady() override;
45 
47  void MainStartTriggers() override;
48 
50  void MainResource() override;
51 
53  void MainDraw() override;
54 
56  void MainStart() override;
57 
59  void MainEnd() override;
60 
62  void MainCleanUp() override;
63 
65  void MainNext() override;
66 
68  void FinalWrapUp() override;
69 
71  void FinalGameOver() override;
72 };
73 } // namespace RosettaStone
74 
75 #endif // ROSETTASTONE_GAME_AGENT_HPP
void MainResource() override
Part of the game state.
IPolicy class.
Definition: Policy.hpp:22
void BeginMulligan() override
Part of the game state.
Game class.
Definition: Game.hpp:21
void FinalWrapUp() override
Part of the game state.
void MainEnd() override
Part of the game state.
void BeginFirst() override
Part of the game state.
void MainBegin() override
Part of the game state.
void MainStartTriggers() override
Part of the game state.
void BeginShuffle() override
Part of the game state.
void MainNext() override
Part of the game state.
GameAgent class.
Definition: GameAgent.hpp:19
void MainReady() override
Part of the game state.
GameConfig struct.
Definition: GameConfig.hpp:21
void MainDraw() override
Part of the game state.
void FinalGameOver() override
Part of the game state.
GameAgent(GameConfig &gameConfig, IPolicy *p1Policy, IPolicy *p2Policy)
void MainStart() override
Part of the game state.
void BeginDraw() override
Part of the game state.
Definition: AccountInfo.hpp:14
void MainCleanUp() override
Part of the game state.