Hi,
I can’t figure out how these objects should interact with each other
using Active rendering
I’ll try to say what I have now:
State -> Handles one gui(MainMenu, InGame), is painted/updated every gameLoop
Controller -> a list of functions that can be applied to the model, should that contain mouseLeftClick() handles left clicks or select() handles left click logic
View -> paint/update itself, direct access to model
Model -> send notification when something changed to the view
UserInput -> Swing Actions a view invokes an Action and the action then handles the request(the actions will needs view and controller objects)
Should the State paint/update the gui? or should the state call paint/update on the controller and then paint/update the gui.