public void update_level(CLevelData level_data) { this.data_current_level = level_data; for (int i = 0; i < this.live_objects.Count; ++i) { this.live_objects[i].GetComponent <CMovableObject>().update_speed_ratio(level_data.speed_ratio); } }
void refresh_current_level() { this.data_current_level = this.levels[this.current_level_index]; }