Added Phaser.Graphics and fixed the Out of World Bounds call.

This commit is contained in:
Richard Davey
2013-09-09 17:01:59 +01:00
parent 30fc4099c6
commit 60f0e8967f
8 changed files with 669 additions and 123 deletions
+6
View File
@@ -85,4 +85,10 @@ Phaser.GameObjectFactory.prototype = {
},
graphics: function (x, y) {
return this.world.add(new Phaser.Graphics(this.game, x, y));
},
};