Preparing search index...
The search index is not available
TypeSpriteJS Game Engine - API
TypeSpriteJS Game Engine - API
CollisionPoint
Class CollisionPoint
Hierarchy
CollisionShape
CollisionPoint
Index
Constructors
constructor
Properties
x
y
Accessors
bottom
left
right
shape
Type
top
Methods
copy
set
Values
Constructors
constructor
new
Collision
Point
(
)
:
CollisionPoint
Returns
CollisionPoint
Properties
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
(
)
:
CollisionPoint
Returns
CollisionPoint
set
Values
set
Values
(
x
:
number
, y
:
number
)
:
CollisionPoint
Parameters
x:
number
y:
number
Returns
CollisionPoint
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
Type
SpriteJS
Game
Engine -
API
Collision
Point
constructor
x
y
bottom
left
right
shape
Type
top
copy
set
Values
Generated using
TypeDoc