diff options
Diffstat (limited to 'src/gui/viewport.h')
-rw-r--r-- | src/gui/viewport.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/viewport.h b/src/gui/viewport.h index 0f56e9426..4ed80ed32 100644 --- a/src/gui/viewport.h +++ b/src/gui/viewport.h @@ -248,6 +248,12 @@ class Viewport : public WindowContainer, public gcn::MouseListener, int getCameraRelativeY() { return mCameraRelativeY; } + void setCameraRelativeX(int n) + { mCameraRelativeX = n; } + + void setCameraRelativeY(int n) + { mCameraRelativeY = n; } + bool isPopupMenuVisible(); void moveCameraToActor(int actorId, int x = 0, int y = 0); |