I'm making a behavior based on Tween.js. It's very simple just a Tweener that manages a list of Tweens that act over objects. Two classes. But my JS skills are limited (I'm an alphabet programming guy, C++, C#, D etc :) ). How better to organize this in a plugin ? For example where to put Tweener class ? JS code organization support sucks i know so where it better to put the classes ? Something like behaviorProto.Class = function(){...} ? I can't grasp prototipal object system at all :D
Any help will be appreciated thanks.