Add multiple candies

This commit is contained in:
Thomas Gideon 2017-07-13 19:37:47 -04:00
parent 1d859a3e7d
commit a8f313c8e8
2 changed files with 30 additions and 13 deletions

View file

@ -76,11 +76,6 @@ impl Star {
scene.run(self.sprite_id, &Action(Ease(EaseFunction::CubicOut, Box::new(FadeOut(dt * 0.75)))));
self.destroyed = true;
}
pub fn diag(&self) -> String {
format!("{}: x {} / y {}", self.sprite_id, self.x.trunc(), self.y.trunc())
}
}
fn rand_dir() -> u32 {