CardGame
Rogue-like card videogame
Loading...
Searching...
No Matches
deckLoader.h
Go to the documentation of this file.
1#ifndef DECKLOADER_H
2#define DECKLOADER_H
3
4#include "deckEntry.h"
5
6#include <nlohmann/json.hpp>
7#include <string_view>
8#include <vector>
9
11{
12 public:
13 DeckLoader();
14
15 std::vector<DeckEntry> loadDeck(std::string_view deckName);
16
17 private:
18 nlohmann::json m_data{};
19};
20
21#endif // DECKLOADER_H
Definition: deckLoader.h:11
std::vector< DeckEntry > loadDeck(std::string_view deckName)
Definition: deckLoader.cpp:13
DeckLoader()
Definition: deckLoader.cpp:7