Login Languish
end_stage.h
Go to the documentation of this file.
1 
8 #pragma once
9 
10 #include "stage.h"
11 #include "../game_manager.h"
12 
17 class EndStage : public Stage {
18 public:
19  EndStage(GameManager *gameManager);
20 
21  bool validateStage();
22  void update(const rapidjson::Value &req);
23  rapidjson::Value getFieldStates(rapidjson::Document::AllocatorType &allocator);
24 
25 private:
26 };
the Stage class is an abstract class that represents a stage in the game
Definition: stage.h:20
void update(const rapidjson::Value &req)
updates the stage
Definition: end_stage.cpp:34
the Stage class is an abstract class that represents a stage of the game
rapidjson::Value getFieldStates(rapidjson::Document::AllocatorType &allocator)
gets the field states
Definition: end_stage.cpp:45
bool validateStage()
validates the stage
Definition: end_stage.cpp:24
the GameManager class is a class that controls the flow of the game
Definition: game_manager.h:22
EndStage(GameManager *gameManager)
constructor for ImageCaptchaStage
Definition: end_stage.cpp:14
the EndStage class is a class that represents the end stage in the game
Definition: end_stage.h:17