bard-legends-framework 1.4.4 → 1.4.5
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/index.d.mts +10 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +5 -5
- package/dist/index.mjs +5 -5
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -756,6 +756,10 @@ interface GameConfiguration {
|
|
|
756
756
|
readonly width: number;
|
|
757
757
|
readonly height: number;
|
|
758
758
|
} | undefined;
|
|
759
|
+
readonly maxScreenResolution: {
|
|
760
|
+
readonly width: number;
|
|
761
|
+
readonly height: number;
|
|
762
|
+
} | undefined;
|
|
759
763
|
readonly devMode: boolean;
|
|
760
764
|
readonly backgroundColor: RGBColor;
|
|
761
765
|
readonly antialias: boolean;
|
|
@@ -815,6 +819,12 @@ declare class MouseService {
|
|
|
815
819
|
readonly secondaryButtonState: actions_lib.Notifier<boolean>;
|
|
816
820
|
getSecondaryButtonState(): boolean;
|
|
817
821
|
constructor();
|
|
822
|
+
/**
|
|
823
|
+
* Maps viewport (DOM) coordinates to Pixi logical screen space (`renderer.screen`),
|
|
824
|
+
* accounting for canvas offset (e.g. letterboxing when max resolution is smaller than the window)
|
|
825
|
+
* and CSS scaling of the canvas.
|
|
826
|
+
*/
|
|
827
|
+
private clientPositionToScreenPosition;
|
|
818
828
|
}
|
|
819
829
|
|
|
820
830
|
declare class MouseTargetFocusService {
|
package/dist/index.d.ts
CHANGED
|
@@ -756,6 +756,10 @@ interface GameConfiguration {
|
|
|
756
756
|
readonly width: number;
|
|
757
757
|
readonly height: number;
|
|
758
758
|
} | undefined;
|
|
759
|
+
readonly maxScreenResolution: {
|
|
760
|
+
readonly width: number;
|
|
761
|
+
readonly height: number;
|
|
762
|
+
} | undefined;
|
|
759
763
|
readonly devMode: boolean;
|
|
760
764
|
readonly backgroundColor: RGBColor;
|
|
761
765
|
readonly antialias: boolean;
|
|
@@ -815,6 +819,12 @@ declare class MouseService {
|
|
|
815
819
|
readonly secondaryButtonState: actions_lib.Notifier<boolean>;
|
|
816
820
|
getSecondaryButtonState(): boolean;
|
|
817
821
|
constructor();
|
|
822
|
+
/**
|
|
823
|
+
* Maps viewport (DOM) coordinates to Pixi logical screen space (`renderer.screen`),
|
|
824
|
+
* accounting for canvas offset (e.g. letterboxing when max resolution is smaller than the window)
|
|
825
|
+
* and CSS scaling of the canvas.
|
|
826
|
+
*/
|
|
827
|
+
private clientPositionToScreenPosition;
|
|
818
828
|
}
|
|
819
829
|
|
|
820
830
|
declare class MouseTargetFocusService {
|