1 #ifndef CORE_SCRIPTS_MAPCHANGECONTEXT_HPP
2 #define CORE_SCRIPTS_MAPCHANGECONTEXT_HPP
4 #include <BLIB/Scripts.hpp>
33 const std::string& newMap, std::uint16_t spawn);
36 virtual void addCustomSymbols(bl::script::SymbolTable& table)
const override;
40 const std::string prevMap;
41 const std::string newMap;
42 const std::uint16_t spawn;
Core classes and functionality for both the editor and game.
Special context for map enter and exit scripts.
MapChangeContext(system::Systems &systems, const std::string &prevMap, const std::string &newMap, std::uint16_t spawn)
Construct a new Map ChangeContext.
virtual void addCustomSymbols(bl::script::SymbolTable &table) const override
Owns all primary systems and a reference to the engine.