load menu and save carfully

This commit is contained in:
2025-07-19 01:18:34 +02:00
parent 625828f7ed
commit e7b1000205
5 changed files with 582 additions and 185 deletions

View File

@@ -1,6 +1,6 @@
use crate::message::Message;
use crate::utils::string_to_polygon;
use crate::polygon_draw::*;
use crate::utils::string_to_polygon;
use serde::{Deserialize, Serialize};
use kira::{AudioManager, sound::static_sound::StaticSoundData};
@@ -70,7 +70,7 @@ impl Music {
Music {
poly_frame: vec![(0.0, PolygonFrame::default())],
nb_sec_for_rev: 1.0,
file_name: "Default Name".to_string(),
file_name: "Default File Name".to_string(),
length: 60.0,
teta: 0.,
current_delta: 0.,