diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-03-23 11:47:52 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-03-23 11:47:52 +0000 |
commit | df4edbc8cbe7cf53f3918921a5791afc2cecc264 (patch) | |
tree | 45fe194966f46584ecd17549f6f078b6bad40340 /src/gui/viewport.h | |
parent | 3cc92062946ba52e58d133933ac73393f74e6922 (diff) | |
download | mana-df4edbc8cbe7cf53f3918921a5791afc2cecc264.tar.gz mana-df4edbc8cbe7cf53f3918921a5791afc2cecc264.tar.bz2 mana-df4edbc8cbe7cf53f3918921a5791afc2cecc264.tar.xz mana-df4edbc8cbe7cf53f3918921a5791afc2cecc264.zip |
Removed unnecessary forwarding method.
Diffstat (limited to 'src/gui/viewport.h')
-rw-r--r-- | src/gui/viewport.h | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |