UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

14 lines (11 loc) 334 B
import { GridDataNodePredicate } from "./GridDataNodePredicate.js"; export class GridDataNodePredicateAny extends GridDataNodePredicate { evaluate(grid, node) { return true; } } /** * @readonly * @type {GridDataNodePredicateAny} */ GridDataNodePredicateAny.INSTANCE = new GridDataNodePredicateAny();