diff --git a/engine/game.go b/engine/game.go index 39c799f..1a98a0c 100644 --- a/engine/game.go +++ b/engine/game.go @@ -51,7 +51,7 @@ func (g *Game) Layout(outsideWidth, outsideHeight int) (w, h int) { return g.ScreenWidth, g.ScreenHeight } -// Sort sorts the components by draw order. +// Sort sorts the components by Z position. // Non-Drawers are sorted before all Drawers. func (g *Game) Sort() { // SliceStable to avoid z-fighting (among Non-Drawers and equal Drawers)