Search
Preparing search index...
The search index is not available
nativescript-tinyengine
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"tinyengine.common"
CubeShape
Class CubeShape
Hierarchy
CubeShape
Implements
Shape
Index
Constructors
constructor
Properties
color
height
img
width
Methods
get
Color
get
Height
get
Img
get
Width
init
render
Constructors
constructor
new
Cube
Shape
(
width
:
number
, height
:
number
, color
:
string
)
:
CubeShape
Parameters
width:
number
height:
number
color:
string
Returns
CubeShape
Properties
Private
color
color
:
string
Private
height
height
:
number
Private
img
img
:
Image
Private
width
width
:
number
Methods
get
Color
get
Color
(
)
:
string
Returns
string
get
Height
get
Height
(
)
:
number
Returns
number
get
Img
get
Img
(
)
:
Image
Returns
Image
get
Width
get
Width
(
)
:
number
Returns
number
init
init
(
entity
:
Entity
)
:
void
Parameters
entity:
Entity
Returns
void
render
render
(
entity
:
Entity
)
:
void
Parameters
entity:
Entity
Returns
void
Globals
"tinyengine.common"
Collision
Response
Circle
Shape
Cube
Shape
constructor
color
height
img
width
get
Color
get
Height
get
Img
get
Width
init
render
Entity
Image
Shape
OBB
Vector2
World
Component
Shape
Response
Object
Generated using
TypeDoc