Skip to content

Commit

Permalink
1.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
quinton-ashley committed Sep 13, 2023
1 parent a9b645e commit e960a28
Show file tree
Hide file tree
Showing 26 changed files with 8,781 additions and 1,307 deletions.
6 changes: 3 additions & 3 deletions docs/-_Contro.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/-_Contros.html

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions docs/-_KeyBoard.html

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions docs/-_Mouse.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/-_SpriteMouse.html

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions docs/Camera.html

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions docs/Canvas.html

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions docs/DistanceJoint.html

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions docs/GlueJoint.html

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions docs/HingeJoint.html

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions docs/InputDevice.html

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions docs/Joint.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/P5Play.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/RopeJoint.html

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions docs/SliderJoint.html

Large diffs are not rendered by default.

48 changes: 24 additions & 24 deletions docs/SpriteAnimation.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Tiles.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/WheelJoint.html

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions docs/World.html

Large diffs are not rendered by default.

9,186 changes: 8,294 additions & 892 deletions docs/global.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/index.html

Large diffs are not rendered by default.

548 changes: 304 additions & 244 deletions docs/p5play.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,5 @@
"make": "electron-forge make",
"publish": "electron-forge publish"
},
"version": "1.6.2"
"version": "1.6.3"
}
14 changes: 4 additions & 10 deletions v3/p5play.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1487,16 +1487,10 @@ class Group extends Array<Sprite> {
* @type {SpriteAnimations}
*/
animations: SpriteAnimations;
/**
* Contains all the collision callback functions for this group
* when it comes in contact with other sprites or groups.
*/
/**
* Contains all the overlap callback functions for this group
* when it comes in contact with other sprites or groups.
*/
GroupSprite: any;
Subgroup: any;
Sprite: typeof Sprite;
GroupSprite: typeof Sprite;
Group: typeof Group;
Subgroup: typeof Group;
mouse: {
presses: any;
pressing: any;
Expand Down
20 changes: 18 additions & 2 deletions v3/p5play.js
Original file line number Diff line number Diff line change
Expand Up @@ -4664,7 +4664,7 @@ p5.prototype.registerMethod('init', function p5playInit() {
*/
this.animations = new this.p.SpriteAnimations();

/**
/*
* Contains all the collision callback functions for this group
* when it comes in contact with other sprites or groups.
*/
Expand All @@ -4673,7 +4673,7 @@ p5.prototype.registerMethod('init', function p5playInit() {
this._collided = {};

this._hasOverlap = {};
/**
/*
* Contains all the overlap callback functions for this group
* when it comes in contact with other sprites or groups.
*/
Expand All @@ -4686,18 +4686,34 @@ p5.prototype.registerMethod('init', function p5playInit() {

let _this = this;

/**
* @type {Sprite.constructor}
*/
this.Sprite;

this.Sprite = class extends this.p.Sprite {
constructor() {
super(_this, ...arguments);
}
};
/**
* @type {Sprite.constructor}
*/
this.GroupSprite = this.Sprite;

/**
* @type {Group.constructor}
*/
this.Group;

this.Group = class extends this.p.Group {
constructor() {
super(_this, ...arguments);
}
};
/**
* @type {Group.constructor}
*/
this.Subgroup = this.Group;

this.mouse = {
Expand Down
2 changes: 1 addition & 1 deletion v3/p5play.min.js

Large diffs are not rendered by default.

0 comments on commit e960a28

Please sign in to comment.