Add multiple candies
This commit is contained in:
parent
1d859a3e7d
commit
a8f313c8e8
2 changed files with 30 additions and 13 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue