]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/BattleState.h
added sword attack animation
[l2e.git] / src / battle / BattleState.h
index d0a002716268f1d9209988556e0e56f77a8c3ab1..3acc0b7699c79dd9ffeaef66c686d263c2a4d29e 100644 (file)
@@ -133,8 +133,8 @@ public:
                                (screen->w - background->w) / 2,
                                (screen->h - background->h) / 2);
        }
-       int BackgroundWidth() const { return background->w; }
-       int BackgroundHeight() const { return background->h; }
+       int Width() const { return background->w; }
+       int Height() const { return background->h; }
 
        void RenderBackground(SDL_Surface *screen, const geometry::Vector<int> &offset);
        void RenderMonsters(SDL_Surface *screen, const geometry::Vector<int> &offset);