Constructors
constructor
- new default(textureManager, x, y, width, height, fillColor): default
Parameters
- textureManager: any
- x: any
- y: any
- width: any
- height: any
- fillColor: any
Properties
Private
fillColor
fillColor: any
Methods
add
- add(obj): void
Returns void
addAt
- addAt(obj, index): void
Returns void
addedToScene
- addedToScene(): void
Returns void
destroy
- destroy(): void
Returns void
getAll
- getAll(): any[]
Returns any[]
getAt
- getAt(index): any
Returns any
getIndex
- getIndex(obj): number
Returns number
once
- once(event, callback, source): void
Parameters
- event: any
- callback: any
- source: any
Returns void
remove
- remove(obj): void
Returns void
removeAll
- removeAll(): void
Returns void
removeFromDisplayList
- removeFromDisplayList(): void
Returns void
setAlpha
- setAlpha(alpha): void
Returns void
setName
- setName(name): void
Returns void
setOrigin
- setOrigin(x, y): void
Returns void
setPositionRelative
- setPositionRelative(source, x, y): void
Returns void
setVisible
- setVisible(visible): void
Returns void