This commit is contained in:
Josh Deprez 2021-08-30 15:53:39 +10:00
parent 3a4a48e2c6
commit 4557f78175
5 changed files with 3 additions and 2 deletions

BIN
cpuprofile.pprof Normal file

Binary file not shown.

View file

@ -15,7 +15,7 @@ var _ interface {
} = &Fill{} } = &Fill{}
func init() { func init() {
gob.Register(Fill{}) gob.Register(&Fill{})
gob.Register(color.Gray{}) gob.Register(color.Gray{})
gob.Register(color.RGBA{}) gob.Register(color.RGBA{})
} }

View file

@ -16,7 +16,7 @@ var _ interface {
} = &SceneRef{} } = &SceneRef{}
func init() { func init() {
gob.Register(SceneRef{}) gob.Register(&SceneRef{})
} }
// SceneRef loads a gzipped, gob-encoded Scene from the asset FS. // SceneRef loads a gzipped, gob-encoded Scene from the asset FS.

Binary file not shown.

View file

@ -112,6 +112,7 @@ func writeLevel1() {
}, },
Components: []interface{}{ Components: []interface{}{
&engine.Fill{ &engine.Fill{
ID: "bg_fill",
Color: color.Gray{100}, Color: color.Gray{100},
ZOrder: 0, ZOrder: 0,
}, },