-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgame.h
More file actions
25 lines (20 loc) · 663 Bytes
/
game.h
File metadata and controls
25 lines (20 loc) · 663 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef GAME_H
#define GAME_H
#include "category.h"
#include "leveled_category.h"
class Game {
public:
Game();
Game(const QList<Category>& categories, const QList<LeveledCategory>& leveledCategories);
virtual ~Game();
QList<Category>& getCategories();
const QList<Category>& getCategories() const;
void appendCategory(const Category& category);
QList<LeveledCategory>& getLeveledCategories();
const QList<LeveledCategory>& getLeveledCategories() const;
void appendLeveledCategory(const LeveledCategory& leveledCategory);
private:
QList<Category> m_categories;
QList<LeveledCategory> m_leveledCategories;
};
#endif