Dragonfly  4.3
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
[legend]

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

df::Event::Event ( )

Create base event.

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

Destructor.

Member Function Documentation

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

Get event type.

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

Set event type.

Member Data Documentation

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

Holds event type.