UNPKG

nes-tetris-representation

Version:

A set of types and classes that represent the pieces, movement, and rng of NES Tetris

18 lines (17 loc) 1.45 kB
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.filledGrid = exports.BlockValue = exports.Orientation = exports.PieceList = exports.Piece = exports.getPieceGrid = exports.getPiece = exports.movePiece = void 0; const move_piece_1 = require("./move-piece"); Object.defineProperty(exports, "movePiece", { enumerable: true, get: function () { return move_piece_1.movePiece; } }); Object.defineProperty(exports, "getPiece", { enumerable: true, get: function () { return move_piece_1.getPiece; } }); Object.defineProperty(exports, "getPieceGrid", { enumerable: true, get: function () { return move_piece_1.getPieceGrid; } }); const piece_types_1 = require("./piece-types"); Object.defineProperty(exports, "Piece", { enumerable: true, get: function () { return piece_types_1.Piece; } }); Object.defineProperty(exports, "BlockValue", { enumerable: true, get: function () { return piece_types_1.BlockValue; } }); Object.defineProperty(exports, "Orientation", { enumerable: true, get: function () { return piece_types_1.Orientation; } }); Object.defineProperty(exports, "PieceList", { enumerable: true, get: function () { return piece_types_1.PieceList; } }); const filled_grid_1 = __importDefault(require("./filled-grid")); exports.filledGrid = filled_grid_1.default;