clarity
This commit is contained in:
parent
11a2382b56
commit
a11c66c076
1 changed files with 2 additions and 1 deletions
|
@ -104,7 +104,8 @@ func (g *Game) walk(c interface{}, v func(interface{}) bool) {
|
|||
}
|
||||
}
|
||||
|
||||
// Build builds the component database.
|
||||
// Build builds the component database, and calls Build, on all components
|
||||
// reachable via Scan.
|
||||
func (g *Game) Build() {
|
||||
g.componentsByID = make(map[string]interface{})
|
||||
g.Walk(func(c interface{}) bool {
|
||||
|
|
Loading…
Reference in a new issue