This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user