Skip to content

Commit

Permalink
v2.0.0 Build
Browse files Browse the repository at this point in the history
  • Loading branch information
aelitneg committed Dec 30, 2020
1 parent cc3cf36 commit 5843ac7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
8 changes: 8 additions & 0 deletions dist/lib/GameEngine/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,14 @@ export default class GameEngine {
* Move activePice down
*/
moveDown(): void;
/**
* Move active piece to bottom of current columns
*/
drop(): void;
/**
* Recursively find drop transform by down transforms
*/
_getDropTransform(): void;
/**
* Check if a transform removes lock for piece
*/
Expand Down
4 changes: 4 additions & 0 deletions dist/lib/GamePiece/GamePiece.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,8 @@ export default class GamePiece {
* This method is overriden in each GamePiece sub class
*/
getTransform(): Array<Coordinate>;
/**
* Return deep clone of position
*/
clonePosition(): Array<Coordinate>;
}
2 changes: 1 addition & 1 deletion dist/tetris-ts.js

Large diffs are not rendered by default.

0 comments on commit 5843ac7

Please sign in to comment.