test + remove print
This commit is contained in:
@@ -127,7 +127,6 @@ pub struct Polygon {
|
||||
impl Polygon {
|
||||
pub fn update(&mut self) {
|
||||
let path = format!("./assets/{0}", &self.sound_name);
|
||||
eprintln!("path:{path}");
|
||||
self.sound = StaticSoundData::from_file(&path).expect("fail to load the sound");
|
||||
self.color = string_to_color(&self.color_name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user