Class default<OVERLAY, PARAMS>Abstract
Type Parameters
-
-
PARAMS extends any[] = []
Constructors
constructor
- new default<OVERLAY, PARAMS>(hideByDefault?: boolean): default<OVERLAY, PARAMS>
-
Type Parameters
-
-
PARAMS extends any[] = []
Parameters
-
hideByDefault: boolean = false
Returns default<OVERLAY, PARAMS>
Properties
Protected
alpha
alpha: number
Protected
Readonly
overlay
overlay
: Map<default, OVERLAY> = ...
Accessors
isHidden
- get isHidden(): boolean
-
Returns boolean
Methods
addOrUpdate
- addOrUpdate(tile: default, ...params: PARAMS): void
-
Returns void
clear
- clear(): void
-
Returns void
Protected
Abstract
generateOverlayInfo
- generateOverlayInfo(tile: default, ...params: PARAMS): undefined | OVERLAY
-
Returns undefined | OVERLAY
getDefaultAlpha
- getDefaultAlpha(): number
-
Returns number
hide
- hide(): void
-
Returns void
show
- show(): void
-
Returns void
Protected
updateOverlayAlpha
- updateOverlayAlpha(tile: default, overlay: OVERLAY, alpha: number): undefined | OVERLAY
-
Parameters
-
-
overlay: OVERLAY
-
alpha: number
Returns undefined | OVERLAY