Death explosions

This commit is contained in:
zenoamaro committed 2019-06-27 00:51:27 +02:00
1 parent ea89cbc2cc
commit 82cba65527
5 files changed
+36 -25

No files matched your search

+6
View File
@@ -1,3 +1,9 @@
import {randomInt} from './math.js';
export function sample(arr) {
return arr[randomInt(0, arr.length-1)];
}
export function nextId() {
// @ts-ignore
const id = nextId.id || 0;