Javascript – How can I correct this error in cocos2d-x
I just made simple Cocos2d-x project. It has serveral scenes and everyone has it's own JavaScript. dashboard.js const MyClass = cc.Class.extend({ ... update: function() { this.remainTimes --; }, // Call the schedule method in your class constructor or init method…