3 #include "KapEngine.hpp"
4 #include "MapScript/MapScript.hpp"
12 std::shared_ptr<MapScript> mapScript =
nullptr;
13 std::vector<SpawnEnemy> enemies;
14 long long lastUpdate = 0;
17 explicit MapManager(std::shared_ptr<KapEngine::GameObject> go);
20 void loadMapScript(
const std::string &path,
bool isServer,
bool _isSpawn =
true);