point-click-components 0.1.1 → 0.1.2
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.
- package/dist/point-click-components.d.ts +1 -2
- package/dist/point-click-components.js +2473 -2474
- package/package.json +2 -2
|
@@ -93,6 +93,7 @@ export declare type GameAction = {
|
|
|
93
93
|
isSoundDisabled: boolean;
|
|
94
94
|
} | {
|
|
95
95
|
type: 'RESET';
|
|
96
|
+
reason: 'game-end' | 'restart';
|
|
96
97
|
} | {
|
|
97
98
|
type: 'CLEAR-STORYBOARD';
|
|
98
99
|
} | {
|
|
@@ -125,8 +126,6 @@ declare type GetImageAsset = {
|
|
|
125
126
|
(id: string): ImageAsset | undefined;
|
|
126
127
|
};
|
|
127
128
|
|
|
128
|
-
export declare const getInitialState: (gameDesign: GameDesign, cellSize?: number, startPaused?: boolean) => GameData;
|
|
129
|
-
|
|
130
129
|
export declare const getIntialUi: (gameDesign: GameDesign, size?: {
|
|
131
130
|
roomWidth?: number;
|
|
132
131
|
roomHeight?: number;
|