1 #include "TransitionState.h"
4 #include "../app/Application.h"
5 #include "../math/Vector.h"
7 using app::Application;
14 TransitionState::TransitionState(MapState *ms, Map *map, const Vector<int> &coordinates)
17 , coordinates(coordinates) {
21 void TransitionState::OnEnterState(SDL_Surface *screen) {
25 void TransitionState::OnExitState(SDL_Surface *screen) {
29 void TransitionState::OnResumeState(SDL_Surface *screen) {
33 void TransitionState::OnPauseState(SDL_Surface *screen) {
38 void TransitionState::OnResize(int width, int height) {
43 void TransitionState::HandleEvents(const Input &input) {
44 ms->Transition(map, coordinates);
49 void TransitionState::UpdateWorld(Uint32 deltaT) {
53 void TransitionState::Render(SDL_Surface *screen) {
54 // ms->Render(screen);