particles, and centred camera

This commit is contained in:
Llywelwyn 2023-07-24 23:01:34 +01:00
parent e9cace85c6
commit cdf16aca9d
5 changed files with 50 additions and 15 deletions

View file

@ -273,14 +273,7 @@ impl<'a> System<'a> for ItemUseSystem {
}
let pos = positions.get(entity);
if let Some(pos) = pos {
particle_builder.request(
pos.x,
pos.y,
rltk::RGB::named(rltk::GREEN),
rltk::RGB::named(rltk::BLACK),
rltk::to_cp437('♥'),
DEFAULT_PARTICLE_LIFETIME,
);
particle_builder.heal(pos.x, pos.y);
}
}
}