fun: space

This commit is contained in:
cha0s 2024-08-01 15:44:38 -05:00
parent 2e183559ad
commit b467874608

View File

@ -196,7 +196,14 @@ export default async function createHomestead(id) {
Vulnerable: {}, Vulnerable: {},
}; };
for (let i = 0; i < 50; ++i) { for (let i = 0; i < 50; ++i) {
entities.push(kitty); entities.push({
...kitty,
Position: {
...kitty.Position,
x: 250 + (Math.random() - 0.5) * 300,
y: 250 + (Math.random() - 0.5) * 300,
},
});
} }
entities.push({ entities.push({
Collider: { Collider: {