![]() |
Peoplemon
0.1.0
Peoplemon 3 game source documentation
|
Special context for map enter and exit scripts. More...
#include <MapChangeContext.hpp>
Public Member Functions | |
MapChangeContext (system::Systems &systems, const std::string &prevMap, const std::string &newMap, std::uint16_t spawn) | |
Construct a new Map ChangeContext. More... | |
Protected Member Functions | |
virtual void | addCustomSymbols (bl::script::SymbolTable &table) const override |
Special context for map enter and exit scripts.
Definition at line 22 of file MapChangeContext.hpp.
core::script::MapChangeContext::MapChangeContext | ( | system::Systems & | systems, |
const std::string & | prevMap, | ||
const std::string & | newMap, | ||
std::uint16_t | spawn | ||
) |
Construct a new Map ChangeContext.
systems | The primary systems object |
prevMap | The name of the previous map |
newMap | The name of the new map |
spawn | The spawn id of the player spawn |
Definition at line 32 of file MapChangeContext.cpp.
|
overrideprotectedvirtual |
Definition at line 39 of file MapChangeContext.cpp.