Link Search Menu Expand Document

Sprite_Weapon.d overview


Table of contents


utils

Sprite_Weapon (class)

// Sprite_Weapon // // The sprite for displaying a weapon image for attacking.

Signature

export declare class Sprite_Weapon {
  constructor()
}

initMembers (method)

Signature

initMembers(): void

setup (method)

Signature

setup(weaponImageId: number): void

update (method)

Signature

update(): void

animationWait (method)

Signature

animationWait(): number

updatePattern (method)

Signature

updatePattern(): void

loadBitmap (method)

Signature

loadBitmap(): void

updateFrame (method)

Signature

updateFrame(): void

isPlaying (method)

Signature

isPlaying(): boolean

_weaponImageId (property)

Signature

_weaponImageId: number

_animationCount (property)

Signature

_animationCount: number

_pattern (property)

Signature

_pattern: number