This commit is contained in:
Josh Deprez 2021-09-27 16:53:23 +10:00
parent 26345f7d71
commit e03731c7e7

View file

@ -32,7 +32,7 @@ func (d *DrawDFS) Draw(screen *ebiten.Image, opts *ebiten.DrawImageOptions) {
d.draw(d.Child, screen, *opts)
}
// exists to satisfy interface
// exists so DrawDFS is recognised as a DrawManager
func (DrawDFS) ManagesDrawingSubcomponents() {}
func (d *DrawDFS) draw(component interface{}, screen *ebiten.Image, opts ebiten.DrawImageOptions) {