]> git.localhorst.tv Git - l2e.git/blobdiff - src/map/MapState.cpp
removed now superfluous Application parameter to State callbacks
[l2e.git] / src / map / MapState.cpp
index 8e70acd19dbbccf0adf08601790a693162962db9..500acea60623b5dd464d99f62ebbdff24848165d 100644 (file)
@@ -46,20 +46,20 @@ MapState::MapState(GameConfig *g, Map *map)
 }
 
 
-void MapState::OnEnterState(Application &c, SDL_Surface *screen) {
+void MapState::OnEnterState(SDL_Surface *screen) {
        camera.Resize(screen->w, screen->h);
        LoadMap(map);
 }
 
-void MapState::OnExitState(Application &ctrl, SDL_Surface *screen) {
+void MapState::OnExitState(SDL_Surface *screen) {
 
 }
 
-void MapState::OnResumeState(Application &ctrl, SDL_Surface *screen) {
+void MapState::OnResumeState(SDL_Surface *screen) {
        camera.Resize(screen->w, screen->h);
 }
 
-void MapState::OnPauseState(Application &ctrl, SDL_Surface *screen) {
+void MapState::OnPauseState(SDL_Surface *screen) {
 
 }