Move camera thinker to a separate function

This commit is contained in:
RedEnchilada 2016-05-08 14:14:24 -05:00
parent d646470c57
commit f2be7742df

View file

@ -41,6 +41,10 @@ Level = function(levelName) {
placeEntityInGrid(entity);
});
cameraThinker();
}
function cameraThinker() {
// Camera thinker.
var targetX, targetY;