Type alias 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