I dont know why its giving me the Uncaught ReferenceError: predictMove is not defined. I want to use predictMove() as an auxiliar function. Can you help me please guys?
var Crab = extend(Actor, {
type : "Crab",
isStuck : false,
predictMove : function(auxx, auxy) {
............
},
animation : function() {
......... I call the predictMove() function somewhere in this piece of code......
})