Sprite_Damage.d overview
Table of contents
- utils
- Sprite_Damage (class)
- destroy (method)
- setup (method)
- setupCriticalEffect (method)
- fontFace (method)
- fontSize (method)
- damageColor (method)
- outlineColor (method)
- outlineWidth (method)
- createMiss (method)
- createDigits (method)
- createChildSprite (method)
- createBitmap (method)
- update (method)
- updateChild (method)
- updateFlash (method)
- updateOpacity (method)
- isPlaying (method)
- _duration (property)
- _flashColor (property)
- _flashDuration (property)
- _colorType (property)
- Sprite_Damage (class)
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