Nymph Game Engine
Chaiscript based Game Engine
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
event.h
Go to the documentation of this file.
1
#ifndef EVENT_H
2
#define EVENT_H
3
#include "
event_type.h
"
4
//= SCRIPTABLE
5
6
namespace
Events {
10
class
Event
{
11
private
:
12
EventType
type;
13
public
:
14
//= BEGIN SCRIPTABLE
15
21
Event
(
const
EventType
& type) : type(type) {}
27
EventType
getEventType
()
const
{
return
type; }
28
//= END SCRIPTABLE
29
};
30
}
31
32
#endif
event_type.h
Events::Event
Class for event.
Definition:
event.h:10
Events::EventType
EventType
Event type enum that is used when passing events.
Definition:
event_type.h:12
Events::Event::getEventType
EventType getEventType() const
Gets the event type.
Definition:
event.h:27
Events::Event::Event
Event(const EventType &type)
Event constructor.
Definition:
event.h:21
src
events
event.h
Generated on Sun Jan 14 2018 21:47:00 for Nymph Game Engine by
1.8.6