RacerApp.h

Go to the documentation of this file.
00001 
00005 /* Copyright © 2009 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 RACERAPP_H_
00013 #define RACERAPP_H_
00014 
00015 #include "MainLoop.h"
00016 #include "Engine/Scene.h"
00017 #include "Engine/ReplayReader.h"
00018 #include "Engine/GameScene.h"
00019 #include <vector>
00020 
00021 /* Class to handle command line arguments and start the game.
00022  */
00023 class RacerApp
00024 {
00025     public:
00031         RacerApp(int argc, char ** argv);
00033         ~RacerApp();
00034         
00036         void operator ()(Engine::GameScene * new_scene);
00037     private:
00038         void parse_arguments(int argc, char ** argv);
00039         void show_usage();
00040         Engine::Scene * title_scene;
00041         MainLoop * main_loop;
00042         Engine::ReplayReader * replay;
00043 };
00044 
00045 #endif /*RACERAPP_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.