bard-legends-framework 1.0.1 → 1.0.3
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 +6 -2
- package/dist/index.d.ts +6 -2
- package/dist/index.js +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -206,7 +206,7 @@ declare class Filters {
|
|
|
206
206
|
removeColorFilter(): void;
|
|
207
207
|
}
|
|
208
208
|
|
|
209
|
-
declare const
|
|
209
|
+
declare const DEFAULT_SHADER_RESOLUTION = 2;
|
|
210
210
|
interface AssetDefinition<T extends string = string> {
|
|
211
211
|
readonly id: string;
|
|
212
212
|
readonly url: T;
|
|
@@ -727,6 +727,8 @@ interface GameConfiguration {
|
|
|
727
727
|
};
|
|
728
728
|
readonly devMode: boolean;
|
|
729
729
|
readonly backgroundColor: RGBColor;
|
|
730
|
+
readonly antialias: boolean;
|
|
731
|
+
readonly resolution: number;
|
|
730
732
|
}
|
|
731
733
|
interface GameSetupOptions {
|
|
732
734
|
readonly assetDefinitions: readonly AssetDefinition<string>[];
|
|
@@ -902,11 +904,13 @@ interface MaterialContactDefinition {
|
|
|
902
904
|
readonly friction: number;
|
|
903
905
|
readonly bounciness: number;
|
|
904
906
|
readonly stiffness: number;
|
|
907
|
+
readonly relaxation: number;
|
|
905
908
|
}
|
|
906
909
|
interface BorderProperties {
|
|
907
910
|
readonly friction: number;
|
|
908
911
|
readonly bounciness: number;
|
|
909
912
|
readonly stiffness: number;
|
|
913
|
+
readonly relaxation: number;
|
|
910
914
|
readonly borderBodyGroup: PhysicsBodyGroup;
|
|
911
915
|
}
|
|
912
916
|
|
|
@@ -973,4 +977,4 @@ declare class PhysicsGateway {
|
|
|
973
977
|
printPathfindingTestGrid(physicsWorldID: number, testLayerID: number, target: Vector | number, physicsBodyGroup: PhysicsBodyGroup, area: Rectangle, gridCellSize?: number): void;
|
|
974
978
|
}
|
|
975
979
|
|
|
976
|
-
export { AnimationFlicker, AnimationInterpolationFunctions, type AnimationOptions, Animations, AnimationsCompletionHandlingType, Animator, type AnimatorAnimation, type AssetDefinition, BORDER_MATERIAL_NAME, BardLegendsHardReset, BlendMode, type BorderProperties, Camera, CameraGateway, type CircleShapeData, ClosestAvailableSpaceHelper, type CollisionDetails, type CollisionReport, Container, ContainerEventType, ControllerDecorator, type ControllerDecoratorMeta, ControllerLink, type CreateDashedLineOptions, type CreatePhysicsWorldRequestDTO, Cursor,
|
|
980
|
+
export { AnimationFlicker, AnimationInterpolationFunctions, type AnimationOptions, Animations, AnimationsCompletionHandlingType, Animator, type AnimatorAnimation, type AssetDefinition, BORDER_MATERIAL_NAME, BardLegendsHardReset, BlendMode, type BorderProperties, Camera, CameraGateway, type CircleShapeData, ClosestAvailableSpaceHelper, type CollisionDetails, type CollisionReport, Container, ContainerEventType, ControllerDecorator, type ControllerDecoratorMeta, ControllerLink, type CreateDashedLineOptions, type CreatePhysicsWorldRequestDTO, Cursor, DEFAULT_SHADER_RESOLUTION, DeltaTime, DisplayObjectArray, type DisplayObjectArrayOptions, type DropShadowOptions, Entity, EntityDecorator, type ExplosionHit, FadeInContent, type FadeInContentOptions, FadeInStateAnimation, FocusingAnimation, Game, type GlowEffectOptions, type GlowOptions, type GlowingShapeDefinition, Graphics, type HitTestOptions, ImmovablePhysicsEntity, type InteractingBodyGroups, KeyboardService, type MapSizeDTO, type MaterialContactDefinition, type MaterialDefinition, Menu, MenuEntity, type MenuOptions, MouseService, MouseTargetFocusService, MouseWheelListenerUI, MovableEntity, MovablePhysicsEntity, type PartialTextOptions, PathFinder, type PathFinderResult, type PhysicsBodyDTO, PhysicsEntity, type PhysicsEntityDefinition, type PhysicsExplosionOptions, PhysicsGateway, PhysicsShapeType, Placeholder, type PolygonDefinition, type PolygonShapeData, PositionConversionHelper, ROTATIONAL_SPEED_LIMIT, type RayCast, type RayCastHit, ReAnimateHandlingType, type RectangleShapeData, RichText, type RichTextOptions, type RichTextRectangleCut, type RichTextStyles, SPEED_LIMIT, Scene, SceneDecorator, ScrollAreaUI, ScrollDirection, type ScrollInContentOptions, ScrollMaskUI, Service, ServiceDecorator, type SetParentOptions, type ShapeDefinition, SingletonEntity, SlideInContent, SlideInContentByIndex, SlideStateAnimation, SlideStateAnimationState, Sprite, type SpriteDefinition, StateAnimation, type StateAnimationOptions, Text, type TextAlignment, type TextOptions, UpdatableContainer, UpdateCycle, VectorFieldPathFinder, VectorSet, View, ViewDecorator, type ViewDecoratorMeta };
|
package/dist/index.d.ts
CHANGED
|
@@ -206,7 +206,7 @@ declare class Filters {
|
|
|
206
206
|
removeColorFilter(): void;
|
|
207
207
|
}
|
|
208
208
|
|
|
209
|
-
declare const
|
|
209
|
+
declare const DEFAULT_SHADER_RESOLUTION = 2;
|
|
210
210
|
interface AssetDefinition<T extends string = string> {
|
|
211
211
|
readonly id: string;
|
|
212
212
|
readonly url: T;
|
|
@@ -727,6 +727,8 @@ interface GameConfiguration {
|
|
|
727
727
|
};
|
|
728
728
|
readonly devMode: boolean;
|
|
729
729
|
readonly backgroundColor: RGBColor;
|
|
730
|
+
readonly antialias: boolean;
|
|
731
|
+
readonly resolution: number;
|
|
730
732
|
}
|
|
731
733
|
interface GameSetupOptions {
|
|
732
734
|
readonly assetDefinitions: readonly AssetDefinition<string>[];
|
|
@@ -902,11 +904,13 @@ interface MaterialContactDefinition {
|
|
|
902
904
|
readonly friction: number;
|
|
903
905
|
readonly bounciness: number;
|
|
904
906
|
readonly stiffness: number;
|
|
907
|
+
readonly relaxation: number;
|
|
905
908
|
}
|
|
906
909
|
interface BorderProperties {
|
|
907
910
|
readonly friction: number;
|
|
908
911
|
readonly bounciness: number;
|
|
909
912
|
readonly stiffness: number;
|
|
913
|
+
readonly relaxation: number;
|
|
910
914
|
readonly borderBodyGroup: PhysicsBodyGroup;
|
|
911
915
|
}
|
|
912
916
|
|
|
@@ -973,4 +977,4 @@ declare class PhysicsGateway {
|
|
|
973
977
|
printPathfindingTestGrid(physicsWorldID: number, testLayerID: number, target: Vector | number, physicsBodyGroup: PhysicsBodyGroup, area: Rectangle, gridCellSize?: number): void;
|
|
974
978
|
}
|
|
975
979
|
|
|
976
|
-
export { AnimationFlicker, AnimationInterpolationFunctions, type AnimationOptions, Animations, AnimationsCompletionHandlingType, Animator, type AnimatorAnimation, type AssetDefinition, BORDER_MATERIAL_NAME, BardLegendsHardReset, BlendMode, type BorderProperties, Camera, CameraGateway, type CircleShapeData, ClosestAvailableSpaceHelper, type CollisionDetails, type CollisionReport, Container, ContainerEventType, ControllerDecorator, type ControllerDecoratorMeta, ControllerLink, type CreateDashedLineOptions, type CreatePhysicsWorldRequestDTO, Cursor,
|
|
980
|
+
export { AnimationFlicker, AnimationInterpolationFunctions, type AnimationOptions, Animations, AnimationsCompletionHandlingType, Animator, type AnimatorAnimation, type AssetDefinition, BORDER_MATERIAL_NAME, BardLegendsHardReset, BlendMode, type BorderProperties, Camera, CameraGateway, type CircleShapeData, ClosestAvailableSpaceHelper, type CollisionDetails, type CollisionReport, Container, ContainerEventType, ControllerDecorator, type ControllerDecoratorMeta, ControllerLink, type CreateDashedLineOptions, type CreatePhysicsWorldRequestDTO, Cursor, DEFAULT_SHADER_RESOLUTION, DeltaTime, DisplayObjectArray, type DisplayObjectArrayOptions, type DropShadowOptions, Entity, EntityDecorator, type ExplosionHit, FadeInContent, type FadeInContentOptions, FadeInStateAnimation, FocusingAnimation, Game, type GlowEffectOptions, type GlowOptions, type GlowingShapeDefinition, Graphics, type HitTestOptions, ImmovablePhysicsEntity, type InteractingBodyGroups, KeyboardService, type MapSizeDTO, type MaterialContactDefinition, type MaterialDefinition, Menu, MenuEntity, type MenuOptions, MouseService, MouseTargetFocusService, MouseWheelListenerUI, MovableEntity, MovablePhysicsEntity, type PartialTextOptions, PathFinder, type PathFinderResult, type PhysicsBodyDTO, PhysicsEntity, type PhysicsEntityDefinition, type PhysicsExplosionOptions, PhysicsGateway, PhysicsShapeType, Placeholder, type PolygonDefinition, type PolygonShapeData, PositionConversionHelper, ROTATIONAL_SPEED_LIMIT, type RayCast, type RayCastHit, ReAnimateHandlingType, type RectangleShapeData, RichText, type RichTextOptions, type RichTextRectangleCut, type RichTextStyles, SPEED_LIMIT, Scene, SceneDecorator, ScrollAreaUI, ScrollDirection, type ScrollInContentOptions, ScrollMaskUI, Service, ServiceDecorator, type SetParentOptions, type ShapeDefinition, SingletonEntity, SlideInContent, SlideInContentByIndex, SlideStateAnimation, SlideStateAnimationState, Sprite, type SpriteDefinition, StateAnimation, type StateAnimationOptions, Text, type TextAlignment, type TextOptions, UpdatableContainer, UpdateCycle, VectorFieldPathFinder, VectorSet, View, ViewDecorator, type ViewDecoratorMeta };
|