improve comment

This commit is contained in:
Josh Deprez 2021-10-04 15:58:18 +11:00
parent 463115efcc
commit 87a64f5c73

View file

@ -34,10 +34,8 @@ func init() {
// DrawDFS is a DrawManager that does not add any structure. Components are // DrawDFS is a DrawManager that does not add any structure. Components are
// drawn in the order in which they are encountered by a depth-first search // drawn in the order in which they are encountered by a depth-first search
// through the game tree using Scan, without any extra sorting based on Z values // through the game tree using Query, without any extra sorting based on Z
// or consideration for DrawOrderer. Also, children registered in Game but not // values or consideration for DrawOrderer.
// registered by subcomponents (such that they are visited with Scan) won't be
// drawn.
type DrawDFS struct { type DrawDFS struct {
Child interface{} Child interface{}
Hides Hides