]> git.localhorst.tv Git - l2e.git/blob - src/battle/BattleState.cpp
added empty battle state
[l2e.git] / src / battle / BattleState.cpp
1 /*
2  * BattleState.cpp
3  *
4  *  Created on: Aug 5, 2012
5  *      Author: holy
6  */
7
8 #include "BattleState.h"
9
10 using app::Application;
11
12 namespace battle {
13
14 void BattleState::EnterState(Application &ctrl, SDL_Surface *screen) {
15
16 }
17
18 void BattleState::ExitState() {
19
20 }
21
22
23 void BattleState::HandleEvent(const SDL_Event &) {
24
25 }
26
27 void BattleState::UpdateWorld(float deltaT) {
28
29 }
30
31 void BattleState::Render(SDL_Surface *screen) {
32         // TODO: center background if screen bigger
33         SDL_BlitSurface(background, 0, screen, 0);
34 }
35
36 }