store neighboring puzzle pieces

This commit is contained in:
2022-07-09 14:46:50 +00:00
parent a98bf4cdde
commit ed8ac6db5d
2 changed files with 27 additions and 0 deletions

View File

@@ -29,6 +29,8 @@ class JigsawPiece{
){
enabled = true;
xy = new Vec2( xy_.x, xy_.y );
this.row = row;
this.col = col;
sideData = sideData_;
points = [];
stepAngle = JigsawMagicNumbers.stepSize*Math.PI/180;