The above shows a quick overview of the design so far, and to begin with I will not go into any deeper details then that. The newest classes that do not have any description are Client and Rimor. Rimor is the main starter class that bootstraps the application, and will also hold the main loop of the application.Client will hold the graphical representation of the game, and this part still gives me some trouble. Drawing the map for the first time is easy enough, but keeping it updated is a little more difficult. Every time an update happens on the map, the client need to update its representation. I do not want to redraw everything for every update, but only want to update the relevant parts. I have a few ideas on how to do, which probably will involve having the client some sort of tile concept. I will start coding and to experiment with various solutions.
No comments:
Post a Comment