Link Search Menu Expand Document

Sprite_Damage.d overview


Table of contents


utils

Sprite_Damage (class)

// Sprite_Damage // // The sprite for displaying a popup damage.

Signature

export declare class Sprite_Damage

destroy (method)

Signature

destroy(options?: PIXIDestroyOptions): void

setup (method)

Signature

setup(target: ActionTarget): void

setupCriticalEffect (method)

Signature

setupCriticalEffect(): void

fontFace (method)

Signature

fontFace(): string

fontSize (method)

Signature

fontSize(): number

damageColor (method)

Signature

damageColor(): "#ffffff" | "#b9ffb5" | "#ffff90" | "#80b0ff" | "#808080"

outlineColor (method)

Signature

outlineColor(): string

outlineWidth (method)

Signature

outlineWidth(): number

createMiss (method)

Signature

createMiss(): void

createDigits (method)

Signature

createDigits(value: number): void

createChildSprite (method)

Signature

createChildSprite(width: number, height: number): Sprite<Bitmap>

createBitmap (method)

Signature

createBitmap(width: number, height: number): Bitmap

update (method)

Signature

update(): void

updateChild (method)

Signature

updateChild(sprite: Sprite): void

updateFlash (method)

Signature

updateFlash(): void

updateOpacity (method)

Signature

updateOpacity(): void

isPlaying (method)

Signature

isPlaying(): boolean

_duration (property)

Signature

_duration: number

_flashColor (property)

Signature

_flashColor: [number, number, number, number]

_flashDuration (property)

Signature

_flashDuration: number

_colorType (property)

Signature

_colorType: number