1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#ifndef _GLOBAL_H_ #define _GLOBAL_H_ #include <vector> #include <memory> #include "object_base.h" using namespace std; class Global{ public: int room_speed=30; vector<shared_ptr<Object>> objects; }; #endif //_GLOBAL_H_