as always had forgotten to add the new files

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13364 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hilnius
2013-07-27 23:13:34 +00:00
parent b737ad753a
commit f3b03488c4
2 changed files with 33 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
#include "states_screens/offline_kart_selection.hpp"
DEFINE_SCREEN_SINGLETON( OfflineKartSelectionScreen );
OfflineKartSelectionScreen::OfflineKartSelectionScreen() : KartSelectionScreen()
{
KartSelectionScreen::m_instance_ptr = this;
}
OfflineKartSelectionScreen::~OfflineKartSelectionScreen()
{
//dtor
}

View File

@@ -0,0 +1,20 @@
#ifndef OFFLINE_KART_SELECTION_HPP
#define OFFLINE_KART_SELECTION_HPP
#include "states_screens/kart_selection.hpp"
#include "guiengine/screen.hpp"
class OfflineKartSelectionScreen : public KartSelectionScreen, public GUIEngine::ScreenSingleton<OfflineKartSelectionScreen>
{
friend class GUIEngine::ScreenSingleton<OfflineKartSelectionScreen>;
protected:
OfflineKartSelectionScreen();
virtual ~OfflineKartSelectionScreen();
public:
static bool isRunning() { return singleton!=NULL; }
// we do not override anything, this class is just there to have a singleton
};
#endif // OFFLINE_KART_SELECTION_HPP