AERMRE 1.5.1
AER modding framework for Hyper Light Drifter.
event.h
Go to the documentation of this file.
1
22#ifndef AER_EVENT_H
23#define AER_EVENT_H
24
25#include <stdbool.h>
26
27#include "aer/instance.h"
28
29/* ----- PUBLIC TYPES ----- */
30
38typedef struct AEREvent {
59 bool (*handle)(struct AEREvent* event,
60 AERInstance* target,
61 AERInstance* other);
71 struct AEREvent* next;
72} AEREvent;
73
74#endif /* AER_EVENT_H */
Utilities for querying and manipulating game instances.
void AERInstance
Opaque type for instance of an object.
Definition: instance.h:36
Semi-opaque type for an object event.
Definition: event.h:38
bool(* handle)(struct AEREvent *event, AERInstance *target, AERInstance *other)
Handle the current event.
Definition: event.h:59
struct AEREvent * next
Event context for the handle event listener.
Definition: event.h:71