CreatureUtil.shuffle(array: Int32Array): void
Shuffle an array in place using the Fisher-Yates shuffle algorithm.
array: Int32Array
- The array to be shuffled.
CreatureUtil.shuffle(array: Int32Array): void
Shuffle an array in place using the Fisher-Yates shuffle algorithm.
array: Int32Array
Add Package
deno add jsr:@stsoftware/neat-ai
Import symbol
import { CreatureUtil } from "@stsoftware/neat-ai";
---- OR ----
Import directly with a jsr specifier
import { CreatureUtil } from "jsr:@stsoftware/neat-ai";