#include <hexmap.h> struct HexTile; struct HexTileClass; HexTile* hex_tile_new (HexData *image); void hex_tile_set_image (HexTile *tile, HexData *image); HexData* hex_tile_get_image (HexTile *tile);
A HexTile is the basic hex object which is inserted in HexList or HexGrid. It contains an image, and informs HexGrid when that image changes. The basic HexTile class is useful for background scenery and similar things.
The class structure for HexTile
create a new HexTile
the new HexTile
set the image in a HexTile
void user_function (HexTile *hextile, gpointer user_data);
the object which received the signal.
user data set when the signal handler was connected.