You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, in GameEngine, there's a UserInput method used to parse the input commands.
We should separate this into its own class.
I was thinking about a map of function pointers for the different actions. The class would parse the input, if it matches a known command, it triggers the function, passing its arguments if needed. But I'm open for your suggestions !
The text was updated successfully, but these errors were encountered:
Right now, in GameEngine, there's a UserInput method used to parse the input commands.
We should separate this into its own class.
I was thinking about a map of function pointers for the different actions. The class would parse the input, if it matches a known command, it triggers the function, passing its arguments if needed. But I'm open for your suggestions !
The text was updated successfully, but these errors were encountered: