Fawkes API  Fawkes Development Version
WorldInfoViewer Class Reference

Main class of the WorldInfoViewer application. More...

#include <>>

List of all members.

Classes

class  RobotRecord

Public Member Functions

 WorldInfoViewer (Glib::RefPtr< Gnome::Glade::Xml > ref_xml, fawkes::WorldInfoDataContainer *data_container)
 Constructor.
virtual ~WorldInfoViewer ()
 Destructor.
Gtk::Window & get_window () const
 Obtain the main window of the application.
bool update ()
 Update the GUI.
void gamestate_changed ()
 Call this method whenever the game state changes.

Detailed Description

Main class of the WorldInfoViewer application.

Author:
Daniel Beck

Constructor & Destructor Documentation

WorldInfoViewer::WorldInfoViewer ( Glib::RefPtr< Gnome::Glade::Xml >  ref_xml,
fawkes::WorldInfoDataContainer data_container 
)

Constructor.

Parameters:
ref_xmlreference to the Glade XML file
data_containerpointer to the central instance of the WorldInfoDataContainer

Definition at line 50 of file worldinfo_viewer.cpp.

References update().

WorldInfoViewer::~WorldInfoViewer ( ) [virtual]

Destructor.

Definition at line 91 of file worldinfo_viewer.cpp.


Member Function Documentation

void WorldInfoViewer::gamestate_changed ( )

Call this method whenever the game state changes.

Definition at line 229 of file worldinfo_viewer.cpp.

Gtk::Window & WorldInfoViewer::get_window ( ) const

Obtain the main window of the application.

Returns:
reference to the main window

Definition at line 102 of file worldinfo_viewer.cpp.

bool WorldInfoViewer::update ( )

Update the GUI.

Returns:
always true

Definition at line 133 of file worldinfo_viewer.cpp.

Referenced by WorldInfoViewer().


The documentation for this class was generated from the following files: