1 #include "TransitionState.h"
4 #include "../app/Application.h"
6 using app::Application;
9 using geometry::Vector;
13 TransitionState::TransitionState(MapState *ms, Map *map, const Vector<int> &coordinates)
16 , coordinates(coordinates) {
20 void TransitionState::OnEnterState(SDL_Surface *screen) {
24 void TransitionState::OnExitState(SDL_Surface *screen) {
28 void TransitionState::OnResumeState(SDL_Surface *screen) {
32 void TransitionState::OnPauseState(SDL_Surface *screen) {
37 void TransitionState::OnResize(int width, int height) {
42 void TransitionState::HandleEvents(const Input &input) {
43 ms->Transition(map, coordinates);
48 void TransitionState::UpdateWorld(float deltaT) {
52 void TransitionState::Render(SDL_Surface *screen) {
53 // ms->Render(screen);