What happens to the &Game you put in ebiten.RunGame is it being used? #2821
-
What happens to the &game you pass in ebiten.RunGame is it the pointer that gets updated or is it just there for the methods? |
Beta Was this translation helpful? Give feedback.
Answered by
hajimehoshi
Oct 27, 2023
Replies: 1 comment 17 replies
-
I don't understand your question. |
Beta Was this translation helpful? Give feedback.
17 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ebitengine calls the game's Update/Draw/Layout. There is nothing more. Even if you have your own goroutine loop, Ebitengine doesn't care about this.