-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unit Actions #87
Comments
You mean unit orders like build city, fortify, etc.? There's a class for each order in Eto. Do we migrate these orders to MovingPieces class like you did with sleep or some other way? |
The class for each order a definitely needed, they contain a lot of logic as to what orders can be given to the current unit. Ver useful for drawing the orders menu. Not 100% sure the best way to connect them to the moving peices view is. What's there currently is just a stopgap to get things working, except for the direction keys. Some of the stuff in the orders classes might need to be duplicated in the engine not sure on that either. |
I moved orders from Eto. Didn't really know where to put it in Raylib so I made a folder in GameMode. |
Thanks, I'll take a look and see if I can wire it together with the menu bar in the next week or so. I won't be able to do as much as I have been as my summer holidays have just ended so this might take a bit longer. |
The Eto version had most unit actions working, it probably wouldn't be to complex to migrate that code over
The text was updated successfully, but these errors were encountered: