-
Notifications
You must be signed in to change notification settings - Fork 1
/
RestLevel.h
43 lines (31 loc) · 1.03 KB
/
RestLevel.h
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// --------------------------------------------------------------------------------------------------------------------------------
// DEMISERL
// Copyright 2014 Corremn
//
// $LastChangedBy$
// $LastChangedDate$
// $LastChangedRevision$
// $HeadURL: $
// --------------------------------------------------------------------------------------------------------------------------------
#if !defined(AFX_RESTLEVEL_H__DD933A6C_8B90_4365_975D_CE3C08ADCD20__INCLUDED_)
#define AFX_RESTLEVEL_H__DD933A6C_8B90_4365_975D_CE3C08ADCD20__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class RestLevel
{
public:
RestLevel();
void Rest(int level);
int Resting(int level);
void ResetRest(){rest_count = 0;sleep="";encounterFlag=0;};
void Encounter();
int GetOldLevel(){return old_level;};
int restComplete[4];
private:
int rest_count;
std::string sleep;
int old_level;
int encounterFlag;
};
#endif // !defined(AFX_RESTLEVEL_H__DD933A6C_8B90_4365_975D_CE3C08ADCD20__INCLUDED_)