This commit is contained in:
@@ -39,8 +39,7 @@ func initialMap() map[string]image.Image {
|
||||
|
||||
// initializes the struct for the an play animation function, this could all be dumped into function that's wrapping go routine if I wanted
|
||||
|
||||
// what happens each frame, at an interval of 50 milliseconds
|
||||
|
||||
// this assumes mario context is up
|
||||
func (a *Animation) animateMario() {
|
||||
defer a.updateMarioPosition()
|
||||
a.ctx.SetColor(color.Black)
|
||||
|
||||
Reference in New Issue
Block a user