blob: 92652c473752f697fb6cba786baabddd88c46b5c (
plain)
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
|
#pragma once
class Object {
private:
const char * name = nullptr;
const char * description = nullptr;
public:
void set_name(const char * name);
const char * get_name();
void set_description(const char * description);
const char * get_description();
void set_hidden(bool hidden);
bool get_hidden();
protected:
Object(const char * name = "", const char * description = "");
virtual ~Object();
friend class ObjectFactory;
protected:
bool hidden = false;
};
|