mirror of
https://github.com/wassname/phaser.git
synced 2026-06-28 16:20:37 +08:00
Added Phaser.Graphics and fixed the Out of World Bounds call.
This commit is contained in:
@@ -85,4 +85,10 @@ Phaser.GameObjectFactory.prototype = {
|
||||
|
||||
},
|
||||
|
||||
graphics: function (x, y) {
|
||||
|
||||
return this.world.add(new Phaser.Graphics(this.game, x, y));
|
||||
|
||||
},
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user