Files
lime/project/include/app/ApplicationEvent.h
2018-06-21 22:03:13 -07:00

39 lines
479 B
C++

#ifndef LIME_APP_APPLICATION_EVENT_H
#define LIME_APP_APPLICATION_EVENT_H
#include <system/CFFI.h>
#include <system/ValuePointer.h>
namespace lime {
enum ApplicationEventType {
UPDATE,
EXIT
};
struct ApplicationEvent {
hl_type* t;
int deltaTime;
ApplicationEventType type;
static ValuePointer* callback;
static ValuePointer* eventObject;
ApplicationEvent ();
static void Dispatch (ApplicationEvent* event);
};
}
#endif