4 * Created on: Aug 5, 2012
8 #include "BattleState.h"
10 using app::Application;
14 void BattleState::EnterState(Application &ctrl, SDL_Surface *screen) {
18 void BattleState::ExitState() {
23 void BattleState::HandleEvent(const SDL_Event &) {
27 void BattleState::UpdateWorld(float deltaT) {
31 void BattleState::Render(SDL_Surface *screen) {
32 // TODO: center background if screen bigger
33 SDL_BlitSurface(background, 0, screen, 0);