context attempt
All checks were successful
build rgb-board / build (push) Successful in 7m57s

This commit is contained in:
2024-02-15 23:21:09 +00:00
parent 81e7607d53
commit 6eec19644e
3 changed files with 9 additions and 10 deletions

View File

@@ -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)