Q7WHCTC4ARX6TBEKVX5HCHCDDFZ7VGCAY3WMS37ZI4F4NR36SBWQC
ZBXFR4EQACOIJ35EETMJSL7VPWLGO3Z52BBUGLRTCF6OGQGUKWMAC
32P3IHGQEWNR6YN3DESLS4DKZJ55JLWA7LGLONKEDPSXFOEK34FAC
O4C7RMEST2263UZERB2CU4S4JW3ICZ7UJWEVOTDTVNAF44SCP2DQC
D6RN4IZZ7VI6TKZK4HKD5J3KWMWJSB2QXJOYY7TIXQ5CR7RQ6O2QC
BTR6N7MXA2E6C2SFSLTN6BD5E2R5JNFPUL5RPIFBX62QWCO2ASPAC
ZXAK75RPH25ZNDZ6VMIGXISHUEFWXNG6ROUY5OXK4UIADR4QJMTQC
SRSAJDUS3GJP75CBMZHEAPRKBRG3M3PU3JSEL2KD7PGUCJX46YAQC
fn food_spawner(mut commands: Commands) {
commands
.spawn(SpriteBundle {
sprite: Sprite {
color: Color::oklch(0.7, 0.274, 330.35),
..default()
},
..default()
})
.insert(Food)
.insert(Position {
x: (random::<f32>() * GRID_SIZE as f32) as i32,
y: (random::<f32>() * GRID_SIZE as f32) as i32,
})
.insert(Size(0.8));
}