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)
23 , coordinates(coordinates) {
27 void TransitionState::OnEnterState(SDL_Surface *screen) {
31 void TransitionState::OnExitState(SDL_Surface *screen) {
35 void TransitionState::OnResumeState(SDL_Surface *screen) {
39 void TransitionState::OnPauseState(SDL_Surface *screen) {
44 void TransitionState::OnResize(int width, int height) {
49 void TransitionState::HandleEvents(const Input &input) {
50 ms->Transition(map, coordinates);
55 void TransitionState::UpdateWorld(float deltaT) {
59 void TransitionState::Render(SDL_Surface *screen) {
60 // ms->Render(screen);