no more initializer
All checks were successful
build rgb-board / build (push) Successful in 1m53s

This commit is contained in:
2024-02-15 22:45:10 +00:00
parent 1093a2c1b2
commit 81e7607d53

View File

@@ -16,15 +16,6 @@ type Mario struct {
updown string
}
// animator is a wrapping function for go routine that can receive an mq channel
func initialMario() Mario {
mario := Mario{
images: initialMap(),
updown: "marioUp",
dir: image.Point{1, 1},
}
return mario
}
func loadMario(file string) image.Image {
reader, err := os.Open(file)