mirror of
https://github.com/wassname/phaser.git
synced 2026-07-03 17:10:40 +08:00
Text converted and a couple of examples created. Using new extend system, so much smaller classes now.
This commit is contained in:
@@ -50,6 +50,11 @@ Phaser.GameObjectFactory.prototype = {
|
||||
|
||||
},
|
||||
|
||||
text: function (x, y, text, style) {
|
||||
|
||||
return this.world.add(new Phaser.Text(this.game, x, y, text, style));
|
||||
|
||||
},
|
||||
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user