Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Window

Index

Classes

Type aliases

Type aliases

ItemObj

ItemObj: { background?: Phaser.Sprite; broken?: Phaser.Sprite; equipped?: Phaser.Sprite; icon: Phaser.Sprite; quantity?: Phaser.BitmapText }

The type that holds info about an icon that is on a window like the icon sprite by itself, broken and equipped indication graphics etc.

Type declaration

  • Optional background?: Phaser.Sprite
  • Optional broken?: Phaser.Sprite
  • Optional equipped?: Phaser.Sprite
  • icon: Phaser.Sprite
  • Optional quantity?: Phaser.BitmapText

TextObj

TextObj: { initial_x: number; right_align: boolean; shadow: Phaser.BitmapText; text: Phaser.BitmapText; text_bg?: Phaser.Graphics }

The type that holds some basic info about any kind of text that is set in a window.

Type declaration

  • initial_x: number
  • right_align: boolean
  • shadow: Phaser.BitmapText
  • text: Phaser.BitmapText
  • Optional text_bg?: Phaser.Graphics

Generated using TypeDoc