2020-02-29 15:40:55 +00:00
|
|
|
#ifndef __qwaq_app_h
|
|
|
|
#define __qwaq_app_h
|
|
|
|
|
2020-03-14 10:45:07 +00:00
|
|
|
#include <Object.h>
|
|
|
|
|
2020-02-29 15:40:55 +00:00
|
|
|
#include "event.h"
|
|
|
|
|
2020-03-14 10:45:07 +00:00
|
|
|
@class Group;
|
2020-03-19 09:41:53 +00:00
|
|
|
@class TextContext;
|
2020-03-01 09:25:02 +00:00
|
|
|
|
2020-03-14 10:45:07 +00:00
|
|
|
@interface QwaqApplication: Object
|
2020-02-29 15:40:55 +00:00
|
|
|
{
|
|
|
|
qwaq_event_t event;
|
|
|
|
qwaq_command endState;
|
2020-03-14 10:45:07 +00:00
|
|
|
|
|
|
|
Group *objects;
|
2020-03-19 09:41:53 +00:00
|
|
|
|
|
|
|
TextContext *screen;
|
|
|
|
int autocount;
|
2020-02-29 15:40:55 +00:00
|
|
|
}
|
|
|
|
-run;
|
2020-03-14 10:45:07 +00:00
|
|
|
-draw;
|
2020-02-29 15:40:55 +00:00
|
|
|
-handleEvent: (qwaq_event_t *) event;
|
|
|
|
@end
|
|
|
|
|
|
|
|
#endif//__qwaq_app_h
|