pub fn new(title: &str, width: u32, height: u32, fps: u32) -> Self {
        Self {
            title: title.to_string(),
            width,
            height,
            world: GameWorld::new(),
            fps,
        }
    }
/// Returns an instance of the GameEngineBuilder object.
///
/// # Arguments
/// * title - Title of window when built
/// * width - Width of window when built
/// * height - Height of window when built
///
/// # Returns
/// Result<Self, String>
Returns an instance of the GameEngineBuilder object.
Returns an instance of the GameEngineBuilder object .
pub fn new(title: &str, width: u32, height: u32, fps: u32) -> Self {
        Self {
            title: title.to_string(),
            width,
            height,
            world: GameWorld::new(),
            fps,
        }
    }
pub fn new ( title : & str , width : u32 , height : u32 , fps : u32 ) -> Self { Self { title : title . to_string ( ) , width , height , world : GameWorld :: new ( ) , fps , } }
Returns an instance of the GameEngineBuilder object.
Returns an instance of the GameEngineBuilder object .
title
&str
width
u32
height
u32
fps
u32
None
title
&str
width
u32
height
u32
fps
u32