Preparing search index...
The search index is not available
TypeSpriteJS Game Engine - API
TypeSpriteJS Game Engine - API
CollisionCircle
Class CollisionCircle
Hierarchy
CollisionShape
CollisionCircle
Index
Constructors
constructor
Properties
radius
x
y
Accessors
bottom
left
right
shape
Type
top
Methods
copy
set
Values
Constructors
constructor
new
Collision
Circle
(
)
:
CollisionCircle
Returns
CollisionCircle
Properties
radius
radius
:
number
= 0
x
x
:
number
= 0
y
y
:
number
= 0
Accessors
bottom
get
bottom
(
)
:
number
Returns
number
left
get
left
(
)
:
number
Returns
number
right
get
right
(
)
:
number
Returns
number
shape
Type
get
shapeType
(
)
:
ShapeType
Returns
ShapeType
top
get
top
(
)
:
number
Returns
number
Methods
copy
copy
(
)
:
CollisionCircle
Returns
CollisionCircle
set
Values
set
Values
(
x
:
number
, y
:
number
, r
:
number
)
:
CollisionCircle
Parameters
x:
number
y:
number
r:
number
Returns
CollisionCircle
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
Type
SpriteJS
Game
Engine -
API
Collision
Circle
constructor
radius
x
y
bottom
left
right
shape
Type
top
copy
set
Values
Generated using
TypeDoc