UI::ReplayStartMenuItem Class Reference

#include <ReplayStartMenuItem.h>

Inheritance diagram for UI::ReplayStartMenuItem:

UI::GameStartMenuItem UI::MenuItem List of all members.

Public Member Functions

 ReplayStartMenuItem (std::wstring label)
 Create with the given label.
virtual ~ReplayStartMenuItem ()
virtual void activate ()
 Start the game.

Detailed Description

Definition at line 20 of file ReplayStartMenuItem.h.

Constructor & Destructor Documentation

UI::ReplayStartMenuItem::ReplayStartMenuItem ( std::wstring  label  ) 

Create with the given label.

label The caption to display on the menu item.

Definition at line 25 of file ReplayStartMenuItem.cpp.

UI::ReplayStartMenuItem::~ReplayStartMenuItem (  )  [virtual]

Definition at line 30 of file ReplayStartMenuItem.cpp.

Member Function Documentation

void UI::ReplayStartMenuItem::activate (  )  [virtual]

Start the game.

This is called when this menu item is selected from the menu. set_main_loop() must have been called before activate().

Reimplemented from UI::GameStartMenuItem.

Definition at line 34 of file ReplayStartMenuItem.cpp.

The documentation for this class was generated from the following files:
Get Racer at SourceForge.net. Fast, secure and Free Open Source software downloads

Generated at Mon Sep 6 00:41:19 2010 by Doxygen version 1.4.7 for Racer version svn335.