Skip to content

Commit

Permalink
feat: allow access to viewport camera entity via public API, closes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
AlmasB committed Jul 9, 2022
1 parent 192824e commit 9d5fe3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fxgl/src/main/kotlin/com/almasb/fxgl/app/scene/Viewport.kt
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class Viewport
* This is only used for visual effects and acts like a viewport overlay.
* Its x and y follow the actual x and y of viewport.
*/
internal val camera = Entity()
val camera = Entity()

/**
* Binds the viewport to entity so that it follows the given entity.
Expand Down

0 comments on commit 9d5fe3a

Please sign in to comment.