angry-pixel 1.1.9 → 1.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,14 +16,16 @@ export declare class AudioPlayer extends EngineComponent {
16
16
  private playOnStart;
17
17
  private _playing;
18
18
  private _paused;
19
- protected init({ audioSource, loop, volume, playOnStart }?: AudioPlayerOptions): void;
20
- protected start(): void;
21
19
  set audioSource(audioSource: HTMLAudioElement);
22
20
  get audioSource(): HTMLAudioElement;
23
21
  set volume(volume: number);
24
22
  get volume(): number;
25
23
  set loop(loop: boolean);
26
24
  get loop(): boolean;
25
+ get playing(): boolean;
26
+ get paused(): boolean;
27
+ protected init({ audioSource, loop, volume, playOnStart }?: AudioPlayerOptions): void;
28
+ protected start(): void;
27
29
  playClip(audioSource: HTMLAudioElement, volume?: number): void;
28
30
  play(): void;
29
31
  stop(): void;
@@ -30,7 +30,6 @@ export declare class Button extends Component {
30
30
  private scaled;
31
31
  onClick: () => void;
32
32
  onPressed: () => void;
33
- onHover: () => void;
34
33
  get offset(): Vector2;
35
34
  set offset(offset: Vector2);
36
35
  protected init({ type, height, radius, touchEnabled, width, offset }: ButtonOptions): void;