Physics.Ninja.Circle
Class: Phaser.Physics.Ninja.Circle
Constructor
new Circle(body, x, y, radius)
Ninja Physics Circle constructor.
Note: This class could be massively optimised and reduced in size. I leave that challenge up to you.
Parameters
Name | Type | Description |
---|---|---|
body | Phaser.Physics.Ninja.Body | The body that owns this shape. |
x | number | The x coordinate to create this shape at. |
y | 登录查看完整内容