mirror of
https://github.com/jorenchik/mdemory.git
synced 2026-03-22 00:26:21 +00:00
functions in camelcase
This commit is contained in:
@@ -8,17 +8,17 @@
|
||||
|
||||
|
||||
struct Question {
|
||||
double Cooldown;
|
||||
std::string QuestionText;
|
||||
std::string Section;
|
||||
double cooldown;
|
||||
std::string questionText;
|
||||
std::string section;
|
||||
|
||||
virtual std::string ToString() const = 0;
|
||||
virtual std::string toString() const = 0;
|
||||
virtual ~Question() = default;
|
||||
};
|
||||
|
||||
struct Choice {
|
||||
std::string Answer;
|
||||
bool IsCorrect;
|
||||
std::string answer;
|
||||
bool isCorrect;
|
||||
};
|
||||
|
||||
enum MultiElementType {
|
||||
@@ -28,10 +28,10 @@ enum MultiElementType {
|
||||
};
|
||||
|
||||
struct MultiElementQuestion : public Question {
|
||||
std::vector<Choice> Choices;
|
||||
std::vector<Choice> choices;
|
||||
MultiElementType type;
|
||||
|
||||
std::string ToString() const override;
|
||||
std::string toString() const override;
|
||||
};
|
||||
|
||||
struct Group {
|
||||
@@ -40,9 +40,9 @@ struct Group {
|
||||
};
|
||||
|
||||
struct GroupQuestion : public Question {
|
||||
std::vector<Group> Groups;
|
||||
std::vector<Group> groups;
|
||||
|
||||
std::string ToString() const override;
|
||||
std::string toString() const override;
|
||||
};
|
||||
|
||||
struct ParseInfo {
|
||||
|
||||
Reference in New Issue
Block a user