UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

14 lines (11 loc) 261 B
import { CellMatcher } from "./CellMatcher.js"; export class CellMatcherAny extends CellMatcher { match(grid, x, y, rotation) { return true; } } /** * * @type {CellMatcherAny} */ CellMatcherAny.INSTANCE = new CellMatcherAny();