Nymph Game Engine
Chaiscript based Game Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Utility::LoadMapEvent Class Reference

Class for load map event. More...

#include <load_map_event.h>

Inheritance diagram for Utility::LoadMapEvent:
Events::Event

Public Member Functions

 LoadMapEvent (const std::string name)
 Creates a LoadMapEvent. More...
 
std::string getName () const noexcept
 Gets the name. More...
 
- Public Member Functions inherited from Events::Event
 Event (const EventType &type)
 Event constructor. More...
 
EventType getEventType () const
 Gets the event type. More...
 

Static Public Member Functions

static std::shared_ptr
< LoadMapEvent
create (const std::string name)
 Factory Function. More...
 

Detailed Description

Class for load map event.

Constructor & Destructor Documentation

Utility::LoadMapEvent::LoadMapEvent ( const std::string  name)
inline

Creates a LoadMapEvent.

Parameters
[in]nameThe name

Member Function Documentation

static std::shared_ptr<LoadMapEvent> Utility::LoadMapEvent::create ( const std::string  name)
inlinestatic

Factory Function.

Parameters
[in]nameThe name
Returns
newly created LoadMapEvent

Referenced by generated::getLoadMapEventModule(), and Utility::DebugParser::parseCommand().

std::string Utility::LoadMapEvent::getName ( ) const
inlinenoexcept

Gets the name.

Returns
The name.

Referenced by generated::getLoadMapEventModule().


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