I try to create a simple game in Java with the Model-View-Controller pattern.
My currently implementation is that
Model
Country
Timer
- Observable
Money
- Observable
- contains Map < Country,Integer>
- increases Money on update from Timer
Controller
Server
- adds Gui-Observer to Money and Timer
- static list of Countries
View
ServerGui
- starts Server
- gets Money and Timer updates
- add itself to Server for Observer updates
- open PlayerView
PlayerGui
- has some countries
- displays current time and money for each country
ScreenShot:
Is my current implementation a correct MVC implementation?
Is there something that you would change?