This commit is contained in:
Webeled
2013-10-07 20:56:44 +01:00
parent 664c512a99
commit 77b553ac2a
23 changed files with 47 additions and 96 deletions
+2 -2
View File
@@ -45,7 +45,7 @@
timer = game.time.now +cycle;
// Get the first alive item and kill it.
var item = game.world.group.getFirstAlive();
var item = game.world.getFirstAlive();
if(item){
@@ -60,7 +60,7 @@
game.debug.renderText('One item will be killed each second.', 280, 420);
// Get living and dead number of a group.
game.debug.renderText('Living: ' + game.world.group.countLiving() + ', Dead: ' + game.world.group.countDead(), 330, 440);
game.debug.renderText('Living: ' + game.world.countLiving() + ', Dead: ' + game.world.countDead(), 330, 440);
}
})();