mirror of
https://github.com/wassname/phaser.git
synced 2026-07-11 00:40:20 +08:00
Adding Type support for collision checks.
This commit is contained in:
@@ -14,6 +14,8 @@ Phaser.Graphics = function (game, x, y) {
|
||||
|
||||
PIXI.DisplayObjectContainer.call(this);
|
||||
|
||||
this.type = Phaser.GRAPHICS;
|
||||
|
||||
this.position.x = x;
|
||||
this.position.y = y;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user