4 * Created on: Oct 7, 2012
8 #include "TransitionState.h"
11 #include "../app/Application.h"
13 using app::Application;
16 using geometry::Vector;
20 TransitionState::TransitionState(MapState *ms, Map *map, const Vector<int> &coordinates)
24 , coordinates(coordinates) {
28 void TransitionState::EnterState(Application &c, SDL_Surface *screen) {
32 void TransitionState::ExitState(Application &, SDL_Surface *screen) {
36 void TransitionState::ResumeState(Application &ctrl, SDL_Surface *screen) {
40 void TransitionState::PauseState(Application &ctrl, SDL_Surface *screen) {
45 void TransitionState::Resize(int width, int height) {
50 void TransitionState::HandleEvents(const Input &input) {
51 ms->Transition(map, coordinates);
56 void TransitionState::UpdateWorld(float deltaT) {
60 void TransitionState::Render(SDL_Surface *screen) {
61 // ms->Render(screen);