bard-legends-framework 1.0.9 → 1.1.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/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as actions_lib from 'actions-lib';
2
- import { IDAttachable, Attachable, SingleEvent, IAttachment, Action, Notifier, Reducer, Variable } from 'actions-lib';
3
- import { Vector, Radian, Vec2, RGBColor, Rectangle, Grid, GridNeighborType, Line } from 'helpers-lib';
2
+ import { IDAttachable, Attachable, SingleEvent, Sequence, Action, Notifier, Reducer, Variable } from 'actions-lib';
3
+ import { Vector, Radian, Rectangle, Vec2, RGBColor, Grid, GridNeighborType, Line } from 'helpers-lib';
4
4
  import * as Pixi from 'pixi.js';
5
5
 
6
6
  declare class ControllerLink {
@@ -142,7 +142,7 @@ declare abstract class ContainerAttributes extends IDAttachable {
142
142
  set x(value: number);
143
143
  get y(): number;
144
144
  set y(value: number);
145
- on(eventType: ContainerEventType, callback: () => void): IAttachment;
145
+ on(eventType: ContainerEventType): Sequence;
146
146
  setRotation(value: Radian): this;
147
147
  get rotation(): Radian;
148
148
  set rotation(value: Radian);
@@ -175,6 +175,8 @@ declare abstract class ContainerAttributes extends IDAttachable {
175
175
  protected getMask(): Pixi.Container;
176
176
  setMask(mask: ContainerAttributes | undefined): this;
177
177
  hitTest(stagePosition: Vector): boolean;
178
+ get boundingBox(): Rectangle;
179
+ ignoreBounds(value?: boolean): this;
178
180
  setMirror(mirror?: boolean): this;
179
181
  get mirror(): boolean;
180
182
  set mirror(value: boolean);
@@ -303,7 +305,6 @@ declare class Container extends ContainerAttributes {
303
305
  destroy(): void;
304
306
  getBoundingMask(): Sprite;
305
307
  displayParent(parent: Container | number, partialOptions?: Partial<SetParentOptions>): this;
306
- get boundingBox(): Rectangle;
307
308
  }
308
309
 
309
310
  interface CreateDashedLineOptions {
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as actions_lib from 'actions-lib';
2
- import { IDAttachable, Attachable, SingleEvent, IAttachment, Action, Notifier, Reducer, Variable } from 'actions-lib';
3
- import { Vector, Radian, Vec2, RGBColor, Rectangle, Grid, GridNeighborType, Line } from 'helpers-lib';
2
+ import { IDAttachable, Attachable, SingleEvent, Sequence, Action, Notifier, Reducer, Variable } from 'actions-lib';
3
+ import { Vector, Radian, Rectangle, Vec2, RGBColor, Grid, GridNeighborType, Line } from 'helpers-lib';
4
4
  import * as Pixi from 'pixi.js';
5
5
 
6
6
  declare class ControllerLink {
@@ -142,7 +142,7 @@ declare abstract class ContainerAttributes extends IDAttachable {
142
142
  set x(value: number);
143
143
  get y(): number;
144
144
  set y(value: number);
145
- on(eventType: ContainerEventType, callback: () => void): IAttachment;
145
+ on(eventType: ContainerEventType): Sequence;
146
146
  setRotation(value: Radian): this;
147
147
  get rotation(): Radian;
148
148
  set rotation(value: Radian);
@@ -175,6 +175,8 @@ declare abstract class ContainerAttributes extends IDAttachable {
175
175
  protected getMask(): Pixi.Container;
176
176
  setMask(mask: ContainerAttributes | undefined): this;
177
177
  hitTest(stagePosition: Vector): boolean;
178
+ get boundingBox(): Rectangle;
179
+ ignoreBounds(value?: boolean): this;
178
180
  setMirror(mirror?: boolean): this;
179
181
  get mirror(): boolean;
180
182
  set mirror(value: boolean);
@@ -303,7 +305,6 @@ declare class Container extends ContainerAttributes {
303
305
  destroy(): void;
304
306
  getBoundingMask(): Sprite;
305
307
  displayParent(parent: Container | number, partialOptions?: Partial<SetParentOptions>): this;
306
- get boundingBox(): Rectangle;
307
308
  }
308
309
 
309
310
  interface CreateDashedLineOptions {