Skip to content

Commit 4b98d9b

Browse files
Add function returning GameWorldView zoom factor
1 parent 2a5b03c commit 4b98d9b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

libs/s25main/world/GameWorldView.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ class GameWorldView
7777
Extent GetSize() const { return size_; }
7878

7979
void SetZoomFactor(float zoomFactor, bool smoothTransition = true);
80+
float GetZoomFactor() const { return zoomFactor_; }
8081
float GetCurrentTargetZoomFactor() const;
8182
void SetNextZoomFactor();
8283

0 commit comments

Comments
 (0)