Skip to content

Selectable

Selectable

Extends

Implements

Properties

childrenEditable

childrenEditable: boolean = true

Inherited from

Container.childrenEditable

Source

src/gameobjects/Container.ts:22


editable

editable: boolean = true

Inherited from

Container.editable

Source

src/gameobjects/Container.ts:21


onDeselected

readonly onDeselected: (p) => void[]

Implementation of

ISelectable.onDeselected

Source

src/input/Selectable.ts:17


onSelected

readonly onSelected: (p) => void[]

Implementation of

ISelectable.onSelected

Source

src/input/Selectable.ts:16


__dill_pixel_top_level_class

static __dill_pixel_top_level_class: boolean = true

Inherited from

Container.__dill_pixel_top_level_class

Source

src/gameobjects/Container.ts:20

Accessors

add

get add(): Add

Returns

Add

Source

src/gameobjects/Container.ts:120


app

get app(): T

Returns

T

Source

src/gameobjects/Container.ts:128


editMode

get editMode(): boolean

set editMode(value): void

Parameters

value: boolean

Returns

boolean

Source

src/gameobjects/Container.ts:107


focusPosition

get focusPosition(): Point

set focusPosition(value): void

Parameters

value: Point

Returns

Point

Source

src/gameobjects/Container.ts:83


focusSize

get focusSize(): Point

set focusSize(value): void

Parameters

value: Point

Returns

Point

Source

src/gameobjects/Container.ts:91


focusable

get focusable(): boolean

set focusable(value): void

Parameters

value: boolean

Returns

boolean

Source

src/gameobjects/Container.ts:99


isSelected

get isSelected(): boolean

Gets whether is selected

Returns

boolean

Source

src/input/Selectable.ts:65


make

get make(): typeof Make

Returns

typeof Make

Source

src/gameobjects/Container.ts:124


useAsCaptionTarget

get useAsCaptionTarget(): boolean

set useAsCaptionTarget(value): void

Parameters

value: boolean

Returns

boolean

Source

src/gameobjects/Container.ts:61


voiceover

get voiceover(): string

set voiceover(value): void

Parameters

value: string

Returns

string

Source

src/gameobjects/Container.ts:69

Methods

deselect()

deselect(): void

Deselects selectable

Returns

void

Implementation of

ISelectable.deselect

Source

src/input/Selectable.ts:83


destroy()

destroy(_options?): void

Parameters

_options?: boolean | IDestroyOptions

Returns

void

Inherited from

Container.destroy

Source

src/gameobjects/Container.ts:132


disableEditMode()

disableEditMode(): void

Returns

void

Inherited from

Container.disableEditMode

Source

src/gameobjects/Container.ts:173


enableEditMode()

enableEditMode(): void

Returns

void

Inherited from

Container.enableEditMode

Source

src/gameobjects/Container.ts:169


getFocusPosition()

getFocusPosition(): Point

Gets focus position

Returns

Point

PIXI.Point

Implementation of

IFocusable.getFocusPosition

Overrides

Container.getFocusPosition

Source

src/input/Selectable.ts:129


getFocusSize()

getFocusSize(): IPoint

Gets focus size

Returns

IPoint

PIXI.Point

Implementation of

IFocusable.getFocusSize

Overrides

Container.getFocusSize

Source

src/input/Selectable.ts:141


isFocusable()

isFocusable(): boolean

Returns

boolean

true if this focusable can be focused Defaults to this.interactive && this.worldVisible

Implementation of

IFocusable.isFocusable

Inherited from

Container.isFocusable

Source

src/gameobjects/Container.ts:165


onFocusActivated()

onFocusActivated(): void

onFocusActivated

Returns

void

Implementation of

IFocusable.onFocusActivated

Overrides

Container.onFocusActivated

Source

src/input/Selectable.ts:120


onFocusBegin()

onFocusBegin(): void

onFocusBegin

Returns

void

Implementation of

IFocusable.onFocusBegin

Overrides

Container.onFocusBegin

Source

src/input/Selectable.ts:106


onFocusEnd()

onFocusEnd(): void

onFocusEnd

Returns

void

Implementation of

IFocusable.onFocusEnd

Overrides

Container.onFocusEnd

Source

src/input/Selectable.ts:113


onResize()

onResize(_size): void

Parameters

_size: IPoint

Returns

void

Inherited from

Container.onResize

Source

src/gameobjects/Container.ts:179


select()

select(): void

Selects selectable

Returns

void

Implementation of

ISelectable.select

Source

src/input/Selectable.ts:72


toggleSelected()

toggleSelected(): void

Toggles selected

Returns

void

Implementation of

ISelectable.toggleSelected

Source

src/input/Selectable.ts:95


update()

update(_deltaTime): void

Parameters

_deltaTime: number

Returns

void

Inherited from

Container.update

Source

src/gameobjects/Container.ts:183