point-click-components 0.0.4 → 0.0.6

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.
@@ -8,10 +8,11 @@ import { Order } from 'point-click-lib';
8
8
  import { Provider } from 'react';
9
9
  import { ReactNode } from 'react';
10
10
  import { RoomData } from 'point-click-lib';
11
+ import { SoundValue } from 'point-click-lib';
11
12
  import { SpriteData } from 'point-click-lib';
12
13
  import { Zone } from 'point-click-lib';
13
14
 
14
- export declare const ActorFigure: ({ data, isPaused, clickHandler, handleHover, contextClickHandler, orders, overrideSpriteData, getImageAsset, sprites, }: Props_5) => JSX.Element;
15
+ export declare const ActorFigure: ({ data, isPaused, clickHandler, handleHover, contextClickHandler, orders, overrideSpriteData, noSound, getImageAsset, sprites, SoundHandler, }: Props_5) => JSX.Element;
15
16
 
16
17
  declare type ActorWithOrdersAndClickHandlers = {
17
18
  data: ActorData;
@@ -111,6 +112,11 @@ declare interface Props {
111
112
  };
112
113
  orderSpeed?: number;
113
114
  sprites: SpriteData[];
115
+ SoundHandler?: FunctionComponent<{
116
+ soundValues: SoundValue[];
117
+ isPaused: boolean;
118
+ frameIndex?: number;
119
+ }>;
114
120
  }
115
121
 
116
122
  declare interface Props_2 {
@@ -149,6 +155,11 @@ declare interface Props_5 {
149
155
  (id: string): ImageAsset | undefined;
150
156
  };
151
157
  sprites: SpriteData[];
158
+ SoundHandler?: FunctionComponent<{
159
+ soundValues: SoundValue[];
160
+ isPaused: boolean;
161
+ frameIndex?: number;
162
+ }>;
152
163
  }
153
164
 
154
165
  export declare const putActorsInDisplayOrder: (a: ActorData, b: ActorData) => number;