2018-09-20 01:27:47 +00:00
|
|
|
typedef struct kaos Kaos;
|
|
|
|
|
|
|
|
typedef struct hyperKaos
|
|
|
|
{
|
|
|
|
int kaosID;
|
|
|
|
int eventType;
|
|
|
|
SDL_Rect domain;
|
|
|
|
Kaos* head;
|
|
|
|
} HyperKaos;
|
|
|
|
|
|
|
|
HyperKaos* newHyperKaos(int id, int type, int x, int y, int w, int h);
|
|
|
|
void deleteHyperKaos(HyperKaos* target);
|
2018-11-13 21:08:21 +00:00
|
|
|
void cleanHyperKaos(HyperKaos* self);
|
2018-09-20 01:27:47 +00:00
|
|
|
|
|
|
|
void run(HyperKaos* self);
|
|
|
|
void addKaos(HyperKaos* self, Kaos* target);
|
|
|
|
int isCompleted(int x);
|
|
|
|
int notCompleted(int x);
|