fn dimensions(&self, _ctx: &mut ggez::Context) -> Option<graphics::Rect> {
        // Get the grid dimesions and add the banner height
        if let Some(dimensions) = &self.grid.dimensions {
            Some(graphics::Rect::new(0.0, 0.0, dimensions.w, dimensions.h + 60.0))
        } else {None}     
    }
// A method that returns the dimensions of the automaton
A method that returns the dimensions of the automaton
A method that returns the dimensions of the automaton
fn dimensions(&self, _ctx: &mut ggez::Context) -> Option<graphics::Rect> {
        // Get the grid dimesions and add the banner height
        if let Some(dimensions) = &self.grid.dimensions {
            Some(graphics::Rect::new(0.0, 0.0, dimensions.w, dimensions.h + 60.0))
        } else {None}     
    }
fn dimensions ( & self , _ctx : & mut ggez :: Context ) -> Option < graphics :: Rect > { // Get the grid dimesions and add the banner height if let Some ( dimensions ) = & self . grid . dimensions { Some ( graphics :: Rect :: new ( 0.0 , 0.0 , dimensions . w , dimensions . h + 60.0 ) ) } else { None } }
A method that returns the dimensions of the automaton
A method that returns the dimensions of the automaton
&self
_ctx
&mut ggez::Context
&self
_ctx
&mut ggez::Context