Class: WorldPane
editor/panes/worldPane.WorldPane
Hierarchy
โณ
WorldPane
Constructors
constructor
โข new WorldPane(pos?
, width?
, height?
)
Creates a WorldPane.
Parameters
Name | Type | Description |
---|---|---|
pos? | vec2 | The top left corner of the pane in the editor grid |
width? | number | The width of the pane in columns |
height? | number | The height of the pane in rows |
Overrides
Defined in
src/editor/panes/worldPane.ts:23
Properties
addEntity
โข Private
addEntity: EntityListener
Defined in
src/editor/panes/worldPane.ts:59
content
โข content: HTMLDivElement
Defined in
src/editor/panes/worldPane.ts:12
domId
โข Readonly
domId: string
Inherited from
Defined in
src/editor/panes/pane.ts:13
element
โข Readonly
element: HTMLDivElement
Inherited from
Defined in
src/ui/element.ts:9
entitiesContainer
โข entitiesContainer: BlazeDetails
Defined in
src/editor/panes/worldPane.ts:13
entitiesList
โข entitiesList: BlazeList
<BlazeElement
<HTMLElement
>>
Defined in
src/editor/panes/worldPane.ts:14
height
โข height: number
Inherited from
Defined in
src/editor/panes/pane.ts:17
id
โข Readonly
id: string
Inherited from
Defined in
src/editor/panes/pane.ts:12
keys
โข Readonly
keys: KeyboardHandler
Inherited from
Defined in
src/ui/element.ts:11
mouse
โข Readonly
mouse: MouseHandler
Inherited from
Defined in
src/ui/element.ts:10
pos
โข pos: vec2
Inherited from
Defined in
src/editor/panes/pane.ts:15
removeEntity
โข Private
removeEntity: EntityListener
Defined in
src/editor/panes/worldPane.ts:68
titlebar
โข Protected
titlebar: BlazeTitleBar
Inherited from
Defined in
src/editor/panes/pane.ts:10
touch
โข Readonly
touch: TouchHandler
Inherited from
Defined in
src/ui/element.ts:12
width
โข width: number
Inherited from
Defined in
src/editor/panes/pane.ts:16
world
โข world: World
Defined in
src/editor/panes/worldPane.ts:10
Methods
addTitlebar
โธ addTitlebar(): void
Create and append a BlazeTitleBar to the pane.
Returns
void
Inherited from
Defined in
src/editor/panes/pane.ts:60
removeTitlebar
โธ removeTitlebar(): void
Remove the pane's titlebar if it exists.
Returns
void
Inherited from
Defined in
src/editor/panes/pane.ts:70
update
โธ update(): void
Update world stats.
Returns
void
Overrides
Defined in
src/editor/panes/worldPane.ts:39