Hexmap Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
#include <hexmap.h> struct HexObject; struct HexObjectClass; HexObject* hex_object_new (HexData *image); struct HexEvent; |
"event" gboolean user_function (HexObject *hexobject, gpointer arg1, gpointer user_data); |
A HexObject is a HexTile that reacts to the movement of any nearby HexWalker. The HexWalker section on movement has more details on this. It also receives events from HexDisplay.
HexObject* hex_object_new (HexData *image); |
create a new HexObject
a HexData
the new HexObject
gboolean user_function (HexObject *hexobject, gpointer arg1, gpointer user_data); |
A propagation of HexDisplay::hex-event to any HexObject in the appropriate hex. The HexObject with the highest depth recieves the event first, followed by lower objects. For more detail on which events are transmitted, see HexDisplay::hex-event.
the object which received the signal.
a HexEvent
user data set when the signal handler was connected.
TRUE to halt event propagation