Name | Type | Description |
---|---|---|
game |
Core.Game | the game object. |
radius |
Number | radius of the circle. |
color |
String | color/style of 2d context. |
Methods
-
getDimentions ()Utils.Vector2d
-
get width & height
Returns:
Type Description Utils.Vector2d vector2d of (width, height) -
renders the circle
-
sets width & height
Name Type Description w
Number radius to set h
Number radius to set