Version Control


All of the version control methods are contained in the js/VersionControl.js file. There is a version control method for each defined class that checks each member and initializes it if it is null. This makes sure that old modules are still playable on newer versions of the software. If this doesn't exist, then any new elements added to the classes could cause a NullReferenceException somewhere and make the module unplayable. You should modify the version control to handle any classes or members that you add so that other modules are still playable.

Currently this just looks at members and checks whether or not they exist, but it could be modified to make sure that members are the right type.