Fixed lots of examples and added the missing Line.js.

This commit is contained in:
photonstorm
2014-01-31 14:12:20 +00:00
parent 26f2b2a931
commit 5e182d317b
14 changed files with 147 additions and 100 deletions
+5 -4
View File
@@ -20,7 +20,8 @@ function create() {
card = items.create(240, 80, 'card');
items.create(280, 100, 'atari2');
game.input.onTap.addOnce(removeCard, this);// obviously the event can be fired only once
// This event will be fired only once
game.input.onTap.addOnce(removeCard, this);
}
@@ -35,9 +36,9 @@ function removeCard() {
function replaceCard() {
// And bring it back to life again - I assume it will render in the same place as before?
var bob = items.getFirstDead();
// And bring it back to life again. It will render in the same place as before?
var deadCard = items.getFirstDead();
bob.revive();
deadCard.revive();
}