Skip to content

CompoundHitArea

Compound hit area

Implements

  • IHitArea

Constructors

new CompoundHitArea()

new CompoundHitArea(pComponents): CompoundHitArea

Parameters

pComponents: PixiShape[]

Returns

CompoundHitArea

Source

src/input/CompoundHitArea.ts:10

Accessors

components

get components(): PixiShape[]

Gets components

Returns

PixiShape[]

Source

src/input/CompoundHitArea.ts:17

Methods

contains()

contains(pX, pY): boolean

contains

Parameters

pX: number

pY: number

Returns

boolean

boolean

Implementation of

IHitArea.contains

Source

src/input/CompoundHitArea.ts:27