readConfigs(NULL);
// TODO read in config files
-
- key::init();
-
- cout << &key::end << endl;
}
void cfg::clean()
{
// TODO save to config files?
-
- key::clean();
}
/// ***** Public Methods *****
#include <SDL/SDL.h>
-/// ***** Private Method Headers *****
-/// ***** Private Variables *****
-
-/// ***** Initializers/Cleaners *****
-void key::init()
-{
- pause = SDLK_p;
- end = SDLK_ESCAPE;
-
- follow = SDLK_f;
-
- well = SDLK_SPACE;
-
- cout << &key::end << endl;
-}
-void key::clean()
-{
-}
+/// ***** Definitions of the extern keys *****
+SDLKey key::pause = SDLK_p;
+SDLKey key::end = SDLK_ESCAPE;
+SDLKey key::follow = SDLK_f;
+SDLKey key::well = SDLK_SPACE;