Dragonfly 4.20
A text-based game engine
Public Member Functions | Private Attributes | List of all members
df::Event Class Reference
Inheritance diagram for df::Event:
Inheritance graph

Public Member Functions

 Event ()
 
virtual ~Event ()
 
void setType (std::string new_type)
 
std::string getType () const
 

Private Attributes

std::string m_event_type
 

Constructor & Destructor Documentation

◆ Event()

df::Event::Event ( )

Create base event.

◆ ~Event()

virtual df::Event::~Event ( )
virtual

Destructor.

Member Function Documentation

◆ getType()

std::string df::Event::getType ( ) const

Get event type.

◆ setType()

void df::Event::setType ( std::string  new_type)

Set event type.

Member Data Documentation

◆ m_event_type

std::string df::Event::m_event_type
private

Holds event type.