From 81e7607d530a096a7a73e91c25bbf9eb8cc799de Mon Sep 17 00:00:00 2001 From: Nathan Wagner Date: Thu, 15 Feb 2024 22:45:10 +0000 Subject: [PATCH] no more initializer --- animationMario.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/animationMario.go b/animationMario.go index ee2c691..b7a9f9a 100644 --- a/animationMario.go +++ b/animationMario.go @@ -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)