summaryrefslogtreecommitdiff
path: root/global.h
diff options
context:
space:
mode:
Diffstat (limited to 'global.h')
-rw-r--r--global.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/global.h b/global.h
index 65aaa5e..e980582 100644
--- a/global.h
+++ b/global.h
@@ -1,5 +1,4 @@
-#ifndef _GLOBAL_H_
-#define _GLOBAL_H_
+#pragma once
#include <vector>
#include <memory>
@@ -8,10 +7,9 @@
using namespace std;
+
class Global{
public:
int room_speed=30;
vector<shared_ptr<Object>> objects;
};
-
-#endif //_GLOBAL_H_