Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Wave

Index

Constructors

constructor

  • new Wave(game: any, x: any, y: any, width: any, height: any): Wave

Properties

blue

blue: number = 255

Private bmp

bmp: BitmapData

frequency

frequency: number

Private game

game: Game

green

green: number = 0

Private half_height

half_height: number

Private half_width

half_width: number

Private half_width_sqr

half_width_sqr: number

Private height

height: number

Private img

img: Image

phase

phase: number = 0

red

red: number = 0

transparent_radius

transparent_radius: number = 0

Private width

width: number

Private x

x: number

Private y

y: number

Accessors

size

  • get size(): number
  • set size(size: number): void

sprite

  • get sprite(): Image

Methods

destroy

  • destroy(): void

Private resize

  • resize(width: number, height: number): void

set_color

  • set_color(red: number, green: number, blue: number): void

update

  • update(): void

Generated using TypeDoc