X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FBattleState.h;h=3acc0b7699c79dd9ffeaef66c686d263c2a4d29e;hb=8f6a2452408f4ae35396cd7008a6fab0ecb03a46;hp=d0a002716268f1d9209988556e0e56f77a8c3ab1;hpb=85ac93ffe31bfeee54aa6167111f1c15f14bc405;p=l2e.git diff --git a/src/battle/BattleState.h b/src/battle/BattleState.h index d0a0027..3acc0b7 100644 --- a/src/battle/BattleState.h +++ b/src/battle/BattleState.h @@ -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 &offset); void RenderMonsters(SDL_Surface *screen, const geometry::Vector &offset);