A question on MVC design
A question on MVC design
- Subject: A question on MVC design
- From: Adam <email@hidden>
- Date: Sun, 16 May 2004 21:58:11 -0400
I am designing a game that plays over the internet. The classes I have
so far are:
A view class to draw the state of the game
A model class to represent the state of the game
A controller class
I also have a socket stream class that is capable of sending and
receiving commands to and from a server. I am not sure where this fits
into the MVC design. Is it any of them?
Also, the model needs to update itself based on info the socket
receives.
The controller needs to send commands to the server through the socket,
What is the best way for these 3 to communicate with each other?
Messaging, instances of each-other other all over the place, is there a
best way?
Thanks,
Adam
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.