blob: fdc095ed45eb987aef88b0c65addcb745bd3194c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#pragma once
class Enemy {
public:
void set_name(const char * name);
const char * get_name();
void set_description(const char * description);
const char * get_description();
private:
friend class EnemyFactory;
Enemy(const char * name = "", const char * description = "");
public:
virtual ~Enemy();
private:
const char * name = nullptr;
const char * description = nullptr;
};
|