Every TG.Program needs the same two functions getParamsand setParamValue.
getParams: function () {
return params;
},
setParamValue: function ( id, value ) {
params[ id ] = value;
},
Could be nice to be implemented just in TG.Program, not on every subclass.