/// Create a view with some hardcoded defaults and stuffs
Create a view with some hardcoded defaults and stuffs
Create a view with some hardcoded defaults and stuffs
pub fn new(skin: Box<dyn GameSkin<G>>) -> Self {
        View {
            skin,
            next_note_index: 0,
            current_timing_point_index: 0,
            notes_on_screen_indices: Vec::with_capacity(128),
            notes_below_screen_indices: Vec::with_capacity(128),
            notes_pos: Vec::with_capacity(128),
            long_notes_held: [false; 7],
        }
    }
pub fn new ( skin : Box < dyn GameSkin < G > > ) -> Self { View { skin , next_note_index : 0 , current_timing_point_index : 0 , notes_on_screen_indices : Vec :: with_capacity ( 128 ) , notes_below_screen_indices : Vec :: with_capacity ( 128 ) , notes_pos : Vec :: with_capacity ( 128 ) , long_notes_held : [ false ; 7 ] , } }
Create a view with some hardcoded defaults and stuffs
Create a view with some hardcoded defaults and stuffs
skin
Box<dyn GameSkin<G>>