Skip to content

Commit 9d5fe3a

Browse files
committed
feat: allow access to viewport camera entity via public API, closes #1168
1 parent 192824e commit 9d5fe3a

File tree

1 file changed

+1
-1
lines changed
  • fxgl/src/main/kotlin/com/almasb/fxgl/app/scene

1 file changed

+1
-1
lines changed

fxgl/src/main/kotlin/com/almasb/fxgl/app/scene/Viewport.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ class Viewport
123123
* This is only used for visual effects and acts like a viewport overlay.
124124
* Its x and y follow the actual x and y of viewport.
125125
*/
126-
internal val camera = Entity()
126+
val camera = Entity()
127127

128128
/**
129129
* Binds the viewport to entity so that it follows the given entity.

0 commit comments

Comments
 (0)