Skip to content

Commit

Permalink
Minor code cleanup (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
jobe-m authored Jan 7, 2025
1 parent 2dbdd0e commit 617da48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ data class CameraConfig(
init {
EntityFactory.register(this)
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import korlibs.math.geom.Point
* Creates a new [DebugRenderSystem], allowing to configure with [callback], and attaches the newly created view to the
* receiver this */
inline fun Container.debugRenderSystem(viewPortSize: SizeInt, camera: Entity, world: World, layerTag: RenderLayerTag, callback: @ViewDslMarker DebugRenderSystem.() -> Unit = {}) =
DebugRenderSystem(viewPortSize,camera, world, layerTag).addTo(this, callback)
DebugRenderSystem(viewPortSize, camera, world, layerTag).addTo(this, callback)

class DebugRenderSystem(
private val viewPortSize: SizeInt,
Expand Down

0 comments on commit 617da48

Please sign in to comment.