Sign in to follow this  
stef569

CMV

Recommended Posts

stef569    122
Hi, i'm having trouble how to glue the view and model part in my 2D game. Programming language: java Current hack: call view functions from the controller I'm trying to show a popup when a move is done. So a mouse click is detected, and passed of to the controller possibly triggering a popup if a click is made on a building? A controller doesn't know about the gui, a model doesn't know about the gui. How is the popup request ever going to reach the view? store a showPopup in the model?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this