Kiva-Entertainment / yohk

SRPG game made with Blender, with scripts in Python
Other
9 stars 0 forks source link

Refactor code base to mimic MVC model #64

Open KaiGeffen opened 10 years ago

KaiGeffen commented 10 years ago

In the interest of testing code, restructure all of the existing code to an MVC structure (Model View Control) similar to this image: http://blenderartists.org/forum/attachment.php?attachmentid=282712&d=1389639234

Afterwards, write tests for all code that should have them. Code that has huge 'View' sections, such as cursor movement, should not be tested, while code that is largely 'Model', such as determining movement paths, should be tested.