tweaks
changed placeholder player name, suppressed some dead code warnings
This commit is contained in:
parent
51060f1a85
commit
b6522d42c3
4 changed files with 6 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue