diff options
author | Bradley Smith | 2008-08-03 16:22:59 +0100 |
---|---|---|
committer | Bradley Smith | 2008-08-03 16:22:59 +0100 |
commit | ae3a780491b700be0258b1c2243c86cf10729fcc (patch) | |
tree | f274f87c4d0bd3bc91e29f0dcc8c90da4b59c028 /include/grobot.h | |
parent | Add more uitest stuff. (diff) | |
download | gnurobots-ae3a780491b700be0258b1c2243c86cf10729fcc.tar.gz |
Add Gtk interface. Using a Vte for guile input.
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
Diffstat (limited to 'include/grobot.h')
-rw-r--r-- | include/grobot.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/grobot.h b/include/grobot.h index fd7f794..52a7039 100644 --- a/include/grobot.h +++ b/include/grobot.h @@ -21,7 +21,7 @@ #include <glib-object.h> #include <glib.h> -#include "userinterface.h" +#include "ui-arena.h" #include "map.h" G_BEGIN_DECLS @@ -53,7 +53,7 @@ struct _GRobot { glong shots; glong units; - UserInterface *ui; + UIArena *ui; Map *map; }; @@ -73,7 +73,7 @@ GType g_robot_get_type(void) G_GNUC_CONST; /* Our object functions */ GRobot* g_robot_new(int x, int y, int dir, long score, long energy, - long shield, long units, long shots, UserInterface *ui, Map *map); + long shield, long units, long shots, UIArena *ui, Map *map); void g_robot_turn (GRobot *robot, gint num_turns); gboolean g_robot_move (GRobot *robot, gint steps); |