Skip to content

cobagames/mvcsample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mvcsample

A short description on the MVC pattern

Complete explanation can be found here: http://cobagames.com/2013/12/15/implementing-mvc-pattern-for-cocos2d-x-projects/

Controller Send commands to model to update the model’s state. It can also send commands to it’s associated view to change the views’s presentation of the model.

Model Notifies it’s associated it’s associated views and controllers when there has been a change in the state. This notification allows the views to produce an updated output and controllers to change the available set of commands.

View Requests information from the model that it needs for generating an output representation to the user.

This is a simple xcode project to demonstrate the implementation of MVC framework in a cocos2d-x project.

References:

http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller

About

MVC framework for cocos2d-x

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published