changed placeholder player name, suppressed some dead code warnings
This commit is contained in:
Llywelwyn 2023-07-09 23:08:58 +01:00
parent 51060f1a85
commit b6522d42c3
4 changed files with 6 additions and 5 deletions

View file

@ -65,6 +65,7 @@ impl ParticleBuilder {
}
/// Makes a particle request in the shape of a +.
#[allow(dead_code)]
pub fn request_plus(&mut self, x: i32, y: i32, fg: RGB, bg: RGB, glyph: rltk::FontCharType, lifetime: f32) {
self.request(x, y, fg, bg, glyph, lifetime * 2.0);
self.request(x + 1, y, fg, bg, rltk::to_cp437('─'), lifetime);