Skip to main content

Class: WorldPane

editor/panes/worldPane.WorldPane

Hierarchy

Constructors

constructor

โ€ข new WorldPane(pos?, width?, height?)

Creates a WorldPane.

Parameters

NameTypeDescription
pos?vec2The top left corner of the pane in the editor grid
width?numberThe width of the pane in columns
height?numberThe height of the pane in rows

Overrides

EditorPane.constructor

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

EditorPane.domId

Defined in

src/editor/panes/pane.ts:13


element

โ€ข Readonly element: HTMLDivElement

Inherited from

EditorPane.element

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

EditorPane.height

Defined in

src/editor/panes/pane.ts:17


id

โ€ข Readonly id: string

Inherited from

EditorPane.id

Defined in

src/editor/panes/pane.ts:12


keys

โ€ข Readonly keys: KeyboardHandler

Inherited from

EditorPane.keys

Defined in

src/ui/element.ts:11


mouse

โ€ข Readonly mouse: MouseHandler

Inherited from

EditorPane.mouse

Defined in

src/ui/element.ts:10


pos

โ€ข pos: vec2

Inherited from

EditorPane.pos

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

EditorPane.titlebar

Defined in

src/editor/panes/pane.ts:10


touch

โ€ข Readonly touch: TouchHandler

Inherited from

EditorPane.touch

Defined in

src/ui/element.ts:12


width

โ€ข width: number

Inherited from

EditorPane.width

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

EditorPane.addTitlebar

Defined in

src/editor/panes/pane.ts:60


removeTitlebar

โ–ธ removeTitlebar(): void

Remove the pane's titlebar if it exists.

Returns

void

Inherited from

EditorPane.removeTitlebar

Defined in

src/editor/panes/pane.ts:70


update

โ–ธ update(): void

Update world stats.

Returns

void

Overrides

EditorPane.update

Defined in

src/editor/panes/worldPane.ts:39