1 decade ago by dmen
Do this all the time... can't figure out why I'm getting an error now. In my entity I do this:
ig.game.btnA();
in my game class I have:
btnA: function(){
},
I get this when I do the ig.game.btnA():
Uncaught TypeError: Property 'btnA' of object #<Class> is not a function
ig.game.btnA();
in my game class I have:
btnA: function(){
},
I get this when I do the ig.game.btnA():
Uncaught TypeError: Property 'btnA' of object #<Class> is not a function