My Project
 
Loading...
Searching...
No Matches
gamesinprogress.h
Go to the documentation of this file.
1#pragma once
2
3#include <map>
4#include "heroclass.h"
5
7public:
8 struct Info {
9 int depth;
10 int level;
12 Info(){}
13 Info(int d, int l, bool c) :depth(d), level(l), challenges(c){}
14 };
15
16 static bool check(HeroClass cl, Info& info);
17private:
18 static std::map<HeroClass, Info> state;
19};
Definition gamesinprogress.h:6
static bool check(HeroClass cl, Info &info)
Definition gamesinprogress.cpp:6
Definition heroclass.h:10
int level
Definition gamesinprogress.h:10
Info(int d, int l, bool c)
Definition gamesinprogress.h:13
int depth
Definition gamesinprogress.h:9
Info()
Definition gamesinprogress.h:12
bool challenges
Definition gamesinprogress.h:11