Link Search Menu Expand Document

Sprite_Battler.d overview


Table of contents


utils

Sprite_Battler (class)

// Sprite_Battler // // The superclass of Sprite_Actor and Sprite_Enemy.

Signature

export declare class Sprite_Battler<T, T2> {
  constructor(battler: T)
}

initMembers (method)

Signature

initMembers(): void

setBattler (method)

Signature

setBattler(battler: T): void

checkBattler (method)

Signature

checkBattler(battler: ActionTarget): boolean

mainSprite (method)

Signature

mainSprite(): Sprite<Bitmap | null>

setHome (method)

Signature

setHome(x: number, y: number): void

update (method)

Signature

update(): void

updateVisibility (method)

Signature

updateVisibility(): void

updateMain (method)

Signature

updateMain(): void

updateBitmap (method)

Signature

updateBitmap(): void

updateFrame (method)

Signature

updateFrame(): void

updateMove (method)

Signature

updateMove(): void

updatePosition (method)

Signature

updatePosition(): void

updateDamagePopup (method)

Signature

updateDamagePopup(): void

updateSelectionEffect (method)

Signature

updateSelectionEffect(): void

setupDamagePopup (method)

Signature

setupDamagePopup(): void

createDamageSprite (method)

Signature

createDamageSprite(): void

destroyDamageSprite (method)

Signature

destroyDamageSprite(sprite: Sprite_Damage): void

damageOffsetX (method)

Signature

damageOffsetX(): number

damageOffsetY (method)

Signature

damageOffsetY(): number

startMove (method)

Signature

startMove(x: number, y: number, duration: number): void

onMoveEnd (method)

Signature

onMoveEnd(): void

isEffecting (method)

Signature

isEffecting(): boolean

isMoving (method)

Signature

isMoving(): boolean

inHomePosition (method)

Signature

inHomePosition(): boolean

onMouseEnter (method)

Signature

onMouseEnter(): void

onPress (method)

Signature

onPress(): void

onClick (method)

Signature

onClick(): void

_battler (property)

Signature

_battler: T

_damages (property)

Signature

_damages: Sprite_Damage[]

_homeX (property)

Signature

_homeX: number

_homeY (property)

Signature

_homeY: number

_offsetX (property)

Signature

_offsetX: number

_offsetY (property)

Signature

_offsetY: number

_targetOffsetX (property)

Signature

_targetOffsetX: number

_targetOffsetY (property)

Signature

_targetOffsetY: number

_movementDuration (property)

Signature

_movementDuration: number

_selectionEffectCount (property)

Signature

_selectionEffectCount: number