Adding Type support for collision checks.

This commit is contained in:
Richard Davey
2013-09-12 21:54:41 +01:00
parent 79dc3566f4
commit 9f687b4f8a
13 changed files with 683 additions and 207 deletions
+2
View File
@@ -14,6 +14,8 @@ Phaser.Text = function (game, x, y, text, style) {
Phaser.Sprite.call(this, game, x, y, canvasID);
this.type = Phaser.TEXT;
this.setText(text);
this.setStyle(style);