Peoplemon  0.1.0
Peoplemon 3 game source documentation
Public Member Functions | Protected Member Functions | List of all members
core::script::MapEventContext Class Reference

Special script context for map events. Adds default built-ins and the map event built-ins. More...

#include <MapEventContext.hpp>

+ Inheritance diagram for core::script::MapEventContext:

Public Member Functions

 MapEventContext (system::Systems &systems, bl::ecs::Entity entity, const map::Event &event, const bl::tmap::Position &tile)
 Construct a new MapEventContext. More...
 

Protected Member Functions

virtual void addCustomSymbols (bl::script::SymbolTable &table) const override
 

Detailed Description

Special script context for map events. Adds default built-ins and the map event built-ins.

Definition at line 24 of file MapEventContext.hpp.

Constructor & Destructor Documentation

◆ MapEventContext()

core::script::MapEventContext::MapEventContext ( system::Systems systems,
bl::ecs::Entity  entity,
const map::Event event,
const bl::tmap::Position &  tile 
)

Construct a new MapEventContext.

Parameters
systemsThe primary systems object
entityThe entity that triggered the event
eventThe event that the entity triggered
tileThe position of the entity when the event fired

Definition at line 40 of file MapEventContext.cpp.

Member Function Documentation

◆ addCustomSymbols()

void core::script::MapEventContext::addCustomSymbols ( bl::script::SymbolTable &  table) const
overrideprotectedvirtual

Definition at line 47 of file MapEventContext.cpp.


The documentation for this class was generated from the following files: