UNPKG

@beetpx/beetpx

Version:

A TypeScript framework for pixel art browser games.

5 lines 202 B
import { rand } from "./rand"; export function randInt(minInclusive, maxExclusive) { return Math.floor(rand(Math.ceil(minInclusive), Math.floor(maxExclusive))); } //# sourceMappingURL=randInt.js.map