Skip to content

Commit b3a7e6a

Browse files
Add function returning GameWorldView zoom factor
1 parent e42c4d5 commit b3a7e6a

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
@@ -78,6 +78,7 @@ class GameWorldView
7878
Extent GetSize() const { return size_; }
7979

8080
void SetZoomFactor(float zoomFactor, bool smoothTransition = true);
81+
float GetZoomFactor() const { return zoomFactor_; }
8182
float GetCurrentTargetZoomFactor() const;
8283
void SetNextZoomFactor();
8384

0 commit comments

Comments
 (0)