]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/states/SwapHeroes.cpp
removed useless comments
[l2e.git] / src / battle / states / SwapHeroes.cpp
index 357e324eced45ea995c1a0f45e23b9aa0cacba40..74770277c808eedead551aa5c5f6f49ba274f38d 100644 (file)
@@ -1,20 +1,14 @@
-/*
- * SwapHeroes.cpp
- *
- *  Created on: Aug 10, 2012
- *      Author: holy
- */
-
 #include "SwapHeroes.h"
 
 #include "SelectMoveAction.h"
 #include "../BattleState.h"
 #include "../../app/Application.h"
 #include "../../app/Input.h"
+#include "../../math/Vector.h"
 
 using app::Application;
 using app::Input;
-using geometry::Vector;
+using math::Vector;
 using std::vector;
 
 namespace battle {
@@ -110,7 +104,7 @@ void SwapHeroes::MoveLeft() {
 }
 
 
-void SwapHeroes::UpdateWorld(float deltaT) {
+void SwapHeroes::UpdateWorld(Uint32 deltaT) {
 
 }
 
@@ -120,7 +114,7 @@ void SwapHeroes::Render(SDL_Surface *screen) {
        RenderCursors(screen, offset);
 }
 
-void SwapHeroes::RenderCursors(SDL_Surface *screen, const geometry::Vector<int> &offset) {
+void SwapHeroes::RenderCursors(SDL_Surface *screen, const math::Vector<int> &offset) {
        // offset the cursor by 1/8th to the left and bottom
        Vector<int> cursorOffset(battle->Res().swapCursor->Width() / -8, battle->Res().swapCursor->Height() / 8);
        Vector<int> indicatorOffset(0, 0);