GameStartMenuItem.h

Go to the documentation of this file.
00001 
00005 /* Copyright © 2009, 2010 James Legg.
00006     This program is free software: you can redistribute it and/or modify
00007     it under the terms of the GNU General Public License as published by
00008     the Free Software Foundation, either version 3 of the License, or
00009     (at your option) any later version.
00010 */
00011 
00012 #ifndef  GAME_START_MENU_ITEM_H
00013 #define  GAME_START_MENU_ITEM_H
00014 
00015 #include <vector>
00016 
00017 #include "MenuItem.h"
00018 #include "../MainLoop.h"
00019 #include "../Engine/LoadScene.h"
00020 
00021 namespace UI
00022 {
00023 
00026 class GameStartMenuItem : public MenuItem
00027 {
00028 public:
00033     GameStartMenuItem(std::wstring label, std::string filename);
00034     
00035     virtual ~GameStartMenuItem();
00036     
00041     virtual void activate();
00042     
00046     void set_main_loop(MainLoop & main_loop);
00047 protected:
00048     std::string filename;
00049     MainLoop * main_loop;
00050 };
00051 
00052 }
00053 
00054 #endif // GAME_START_MENU_ITEM_H

Get Racer at SourceForge.net. Fast, secure and Free Open Source software downloads

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