particles, and centred camera
This commit is contained in:
parent
e9cace85c6
commit
cdf16aca9d
5 changed files with 50 additions and 15 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue