pub fn new(initialstate: &str, cellsize: f32, fps: u32) -> GameResult<Self> {
        // Create the simulation, wrap it in a GameResult and return it.
        Ok(Self{
            fps, initialized: false,
            automaton: T::new(initialstate, cellsize), 
        })
    }
/// A constructor function that creates a new simulation automaton with
/// the given intial state, cell size (pixels) and refresh rate (seconds).
A constructor function that creates a new simulation automaton with
the given intial state, cell size (pixels) and refresh rate (seconds).
A constructor function that creates a new simulation automaton with the given intial state cell size ( pixels ) and refresh rate ( seconds ) .
pub fn new(initialstate: &str, cellsize: f32, fps: u32) -> GameResult<Self> {
        // Create the simulation, wrap it in a GameResult and return it.
        Ok(Self{
            fps, initialized: false,
            automaton: T::new(initialstate, cellsize), 
        })
    }
pub fn new ( initialstate : & str , cellsize : f32 , fps : u32 ) -> GameResult < Self > { // Create the simulation, wrap it in a GameResult and return it. Ok ( Self { fps , initialized : false , automaton : T :: new ( initialstate , cellsize ) , } ) }
A constructor function that creates a new simulation automaton with
the given intial state, cell size (pixels) and refresh rate (seconds).
A constructor function that creates a new simulation automaton with the given intial state cell size ( pixels ) and refresh rate ( seconds ) .
initialstate
&str
cellsize
f32
fps
u32
initialstate
&str
cellsize
f32
fps
u32