I have problem with timer - I want a repeated execution of a function, which works if the function is lambda, but not if the function has a name. For illustration, this code writes the console every second: game.module('game.main') .body(function() { SceneGame = game.Scene.extend({ init: function() { this.addTimer(1000, function() { console.log('second'); }, true); } }); game.start(); });This code writes the console exactly once, after a second: game.module('game.main') .body(function() { SceneGame = game.Scene.extend({ init: function() { this.addTimer(1000, this.my_timer(), true); }, my_timer: function() { console.log('second'); } }); game.start(); });In my understanding they should be equal, but I have subpar knowledge of JS, so maybe it's some scoping thing?