blob: 3fe3d66a0ac1cb88c4d9f542e744d74d001cd4c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#pragma once
namespace crepe {
class System {
public:
static System & get_instance();
virtual void update() = 0;
protected:
System() { };
virtual ~System() { };
private:
// singleton
System(const System &) = delete;
System(System &&) = delete;
System & operator=(const System &) = delete;
System & operator=(System &&) = delete;
};
}
|