litecanvas 0.78.2 → 0.79.1
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/dist.dev.js +135 -155
- package/dist/dist.js +46 -58
- package/dist/dist.min.js +1 -1
- package/package.json +2 -2
- package/src/index.js +147 -171
- package/types/index.d.ts +0 -7
- package/types/types.d.ts +0 -7
package/types/index.d.ts
CHANGED
|
@@ -588,13 +588,6 @@ declare global {
|
|
|
588
588
|
* @param value
|
|
589
589
|
*/
|
|
590
590
|
function setvar(key: string, value: any): void
|
|
591
|
-
/**
|
|
592
|
-
* Resizes the game canvas and emit the "resized" event
|
|
593
|
-
*
|
|
594
|
-
* @param width
|
|
595
|
-
* @param height
|
|
596
|
-
*/
|
|
597
|
-
function resize(width: number, height: number): void
|
|
598
591
|
/**
|
|
599
592
|
* The scale of the game's delta time (dt).
|
|
600
593
|
* Values higher than 1 increase the speed of time, while values smaller than 1 decrease it.
|
package/types/types.d.ts
CHANGED
|
@@ -560,13 +560,6 @@ type LitecanvasInstance = {
|
|
|
560
560
|
* @param value
|
|
561
561
|
*/
|
|
562
562
|
setvar(key: string, value: any): void
|
|
563
|
-
/**
|
|
564
|
-
* Resizes the game canvas and emit the "resized" event
|
|
565
|
-
*
|
|
566
|
-
* @param width
|
|
567
|
-
* @param height
|
|
568
|
-
*/
|
|
569
|
-
resize(width: number, height: number): void
|
|
570
563
|
/**
|
|
571
564
|
* The scale of the game's delta time (dt).
|
|
572
565
|
* Values higher than 1 increase the speed of time, while values smaller than 1 decrease it.
|