minor clarification
This commit is contained in:
parent
3d75693cc2
commit
11a2382b56
2 changed files with 2 additions and 2 deletions
|
@ -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{}
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue