relocation

This commit is contained in:
biglyderv 2024-11-25 14:14:20 -05:00
parent b1501d7251
commit 539f227dba

View file

@ -1,3 +1,7 @@
if (!crypto) {
crypto = import('node:crypto');
}
function distF(ent, target) {
return ((ent.pos.x - target.pos.x) ** 2) + ((ent.pos.y - target.pos.y) ** 2)
}