blob: 87449202abf321daa8e5889d1ad328e6fc107364 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#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;
};
} // namespace crepe
|