-
Notifications
You must be signed in to change notification settings - Fork 1
/
Level.h
36 lines (31 loc) · 838 Bytes
/
Level.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
//*****************************************************************************
//* File : Level.h
//* Author : Neil Massey
//* Date : 25/11/08
//* Purpose : Class to store level details in
//*****************************************************************************
#ifndef LEVEL_H
#define LEVEL_H
#include <string>
class Level
{
public:
Level(void);
void Set(int levtype, float value);
void Set(int levtype, float acoeff, float bcoeff, float p0);
bool operator == (const Level &rhs) const;
bool operator != (const Level &rhs) const;
void Print(void) const;
int GetType(void) const;
float GetValue(void) const;
void SetName(std::string name);
std::string GetName(void);
private:
int i_levtype;
float f_value;
float f_acoeff;
float f_bcoeff;
float f_p0;
std::string s_lev_name;
};
#endif