===================================================================
--- original.js
+++ change.js
@@ -52,8 +52,11 @@
};
self.down = function (x, y, obj) {
self.vy = -10; // jump
};
+ self.move = function (x, y, obj) {
+ // Add movement logic here
+ };
});
//<Assets used in the game will automatically appear here>
// Platform class
var Platform = Container.expand(function () {