From df4edbc8cbe7cf53f3918921a5791afc2cecc264 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sun, 23 Mar 2008 11:47:52 +0000 Subject: Removed unnecessary forwarding method. --- src/gui/viewport.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui/viewport.h') diff --git a/src/gui/viewport.h b/src/gui/viewport.h index 58ef7146..a91ab14d 100644 --- a/src/gui/viewport.h +++ b/src/gui/viewport.h @@ -128,6 +128,9 @@ class Viewport : public WindowContainer, public gcn::MouseListener, int getCameraY() { return mTileViewY; } + /** + * Changes viewpoint by relative pixel coordinates. + */ void scrollBy (float x, float y) { mPixelViewX += x; mPixelViewY += y; } -- cgit v1.2.3-70-g09d2