kaplay 3001.0.17 → 3001.0.18
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/doc.d.ts +2 -1
- package/dist/kaboom.js +2 -2
- package/dist/kaplay.cjs +2 -2
- package/dist/kaplay.cjs.map +2 -2
- package/dist/kaplay.js +2 -2
- package/dist/kaplay.js.map +2 -2
- package/dist/kaplay.mjs +2 -2
- package/dist/kaplay.mjs.map +2 -2
- package/dist/types.d.ts +5 -4
- package/package.json +1 -1
package/dist/doc.d.ts
CHANGED
|
@@ -1155,7 +1155,7 @@ export declare class TexPacker {
|
|
|
1155
1155
|
private gfx;
|
|
1156
1156
|
private padding;
|
|
1157
1157
|
constructor(gfx: GfxCtx, w: number, h: number, padding: number);
|
|
1158
|
-
|
|
1158
|
+
addSingle(img: ImageSource): [
|
|
1159
1159
|
Texture,
|
|
1160
1160
|
Quad,
|
|
1161
1161
|
number
|
|
@@ -7296,6 +7296,7 @@ export interface KAPLAYCtx<TButtonDef extends ButtonsDef = {}, TButton extends s
|
|
|
7296
7296
|
* @example
|
|
7297
7297
|
* ```js
|
|
7298
7298
|
* sky.color = rgb("#ef6360")
|
|
7299
|
+
* ```
|
|
7299
7300
|
*
|
|
7300
7301
|
* @returns The color.
|
|
7301
7302
|
* @since v2000.0
|