diff --git a/engine/game.go b/engine/game.go index d26cfa5..6481e62 100644 --- a/engine/game.go +++ b/engine/game.go @@ -25,7 +25,7 @@ type Builder interface { // Scanner components can be scanned. It is called when the game tree is walked // (such as when the game component database is constructed). -// Scan should return a slice containing all subcomponents. +// Scan should return a slice containing all immediate subcomponents. type Scanner interface { Scan() []interface{} } diff --git a/engine/scene.go b/engine/scene.go index 317c9e1..f0da471 100644 --- a/engine/scene.go +++ b/engine/scene.go @@ -64,7 +64,7 @@ func (s *Scene) sortByZ() { }) } -// Scan returns all subcomponents. +// Scan returns all immediate subcomponents. func (s *Scene) Scan() []interface{} { return s.Components } // Update calls Update on all Updater components.