Remove unneeded functions

This commit is contained in:
Hajime Hoshi 2013-06-28 00:33:41 +09:00
parent f06e541f48
commit 997668a0db

View File

@ -198,19 +198,3 @@ func main() {
currentUI.Run()
}
type FuncInitializer struct {
f func(graphics.TextureFactory)
}
func (i *FuncInitializer) Initialize(tf graphics.TextureFactory) {
i.f(tf)
}
type FuncDrawable struct {
f func(graphics.Context, graphics.Texture)
}
func (d *FuncDrawable) Draw(g graphics.Context, offscreen graphics.Texture) {
d.f(g, offscreen)
}