Search
Preparing search index...
The search index is not available
@blinkk/degu
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
x
XStage
Class XStage
Hierarchy
XGameObject
XStage
Index
Constructors
constructor
Properties
acceleration
anchorX
anchorY
children
debug
Object
id
interactable
natural
Height
natural
ScaleX
natural
ScaleY
natural
Width
on
Mouse
Down
on
Mouse
Move
on
Mouse
Up
position
rotation
texture
velocity
visible
z
Index
Accessors
alpha
anchor
Gx
anchor
Gy
anchor
Offset
Vector
anchorXOffset
anchorYOffset
ax
ay
gcx
gcy
global
Center
Vector
global
Computed
Box
gx
gy
height
natural
AnchorXOffset
natural
AnchorYOffset
scaleX
scaleY
vx
vy
width
x
y
Methods
add
Child
attach
ToCanvas
order
Children
ByZIndex
remove
Child
render
render
Debugging
Outlines
set
Position
set
Texture
update
Positions
Constructors
constructor
new XStage
(
config
?:
object
)
:
XStage
Parameters
Default value
config:
object
= XGameObjectDefaults
alpha
:
number
anchorX
:
number
anchorY
:
number
height
:
number
id
:
string
interactable
:
boolean
rotation
:
number
scaleX
:
number
scaleY
:
number
width
:
number
x
:
number
y
:
number
z
Index
:
number
Returns
XStage
Properties
acceleration
acceleration
:
Vector
anchorX
anchorX
:
number
anchorY
anchorY
:
number
children
children
:
Array
<
XGameObject
>
debug
Object
debug
Object
:
boolean
id
id
:
string
interactable
interactable
:
boolean
natural
Height
natural
Height
:
number
natural
ScaleX
natural
ScaleX
:
number
natural
ScaleY
natural
ScaleY
:
number
natural
Width
natural
Width
:
number
on
Mouse
Down
on
Mouse
Down
:
Function
|
null
on
Mouse
Move
on
Mouse
Move
:
Function
|
null
on
Mouse
Up
on
Mouse
Up
:
Function
|
null
position
position
:
Vector
rotation
rotation
:
number
texture
texture
:
XTexture
|
null
velocity
velocity
:
Vector
visible
visible
:
boolean
z
Index
z
Index
:
number
Accessors
alpha
alpha
:
anchor
Gx
anchor
Gx
:
anchor
Gy
anchor
Gy
:
anchor
Offset
Vector
anchor
Offset
Vector
:
anchorXOffset
anchorXOffset
:
anchorYOffset
anchorYOffset
:
ax
ax
:
ay
ay
:
gcx
gcx
:
gcy
gcy
:
global
Center
Vector
global
Center
Vector
:
global
Computed
Box
global
Computed
Box
:
gx
gx
:
gy
gy
:
height
height
:
natural
AnchorXOffset
natural
AnchorXOffset
:
natural
AnchorYOffset
natural
AnchorYOffset
:
scaleX
scaleX
:
scaleY
scaleY
:
vx
vx
:
vy
vy
:
width
width
:
x
x
:
y
y
:
Methods
add
Child
add
Child
(
sprite
:
XGameObject
)
:
void
Parameters
sprite:
XGameObject
Returns
void
attach
ToCanvas
attach
ToCanvas
(
canvas
:
HTMLCanvasElement
)
:
void
Parameters
canvas:
HTMLCanvasElement
Returns
void
order
Children
ByZIndex
order
Children
ByZIndex
(
)
:
void
Returns
void
remove
Child
remove
Child
(
sprite
:
XGameObject
)
:
void
Parameters
sprite:
XGameObject
Returns
void
render
render
(
context
:
CanvasRenderingContext2D
)
:
void
Parameters
context:
CanvasRenderingContext2D
Returns
void
render
Debugging
Outlines
render
Debugging
Outlines
(
context
:
CanvasRenderingContext2D
)
:
void
Parameters
context:
CanvasRenderingContext2D
Returns
void
set
Position
set
Position
(
x
:
number
, y
:
number
)
:
void
Parameters
x:
number
y:
number
Returns
void
set
Texture
set
Texture
(
texture
:
XTexture
)
:
void
Parameters
texture:
XTexture
Returns
void
update
Positions
update
Positions
(
)
:
void
Returns
void
Globals
x
__global
X
XGame
Object
XLine
XOff
Screen
Canvas
XPointer
XRectangle
XStage
constructor
acceleration
anchorX
anchorY
children
debug
Object
id
interactable
natural
Height
natural
ScaleX
natural
ScaleY
natural
Width
on
Mouse
Down
on
Mouse
Move
on
Mouse
Up
position
rotation
texture
velocity
visible
z
Index
alpha
anchor
Gx
anchor
Gy
anchor
Offset
Vector
anchorXOffset
anchorYOffset
ax
ay
gcx
gcy
global
Center
Vector
global
Computed
Box
gx
gy
height
natural
AnchorXOffset
natural
AnchorYOffset
scaleX
scaleY
vx
vy
width
x
y
add
Child
attach
ToCanvas
order
Children
ByZIndex
remove
Child
render
render
Debugging
Outlines
set
Position
set
Texture
update
Positions
XText
XTexture
XConfig
XGame
Config
Computed
Box
XGame
Object
Config
XLine
Config
XRectangle
Config
XText
Config
XGame
Object
Defaults