pub fn _add_receptors(
        &self,
        batch: &mut graphics::spritebatch::SpriteBatch,
    ) -> Result<(), ggez::GameError> {
        for &column_position in &self.column_positions {
            batch.add(
                graphics::DrawParam::new()
                    .dest([column_position as f32, self.receptor_height as f32]),
            );
        }
        Ok(())
    }
//this will likely be the method to draw receptors in the future, but it is not currently in use
this will likely be the method to draw receptors in the future, but it is not currently in use
this will likely be the method to draw receptors in the future but it is not currently in use
pub fn _add_receptors(
        &self,
        batch: &mut graphics::spritebatch::SpriteBatch,
    ) -> Result<(), ggez::GameError> {
        for &column_position in &self.column_positions {
            batch.add(
                graphics::DrawParam::new()
                    .dest([column_position as f32, self.receptor_height as f32]),
            );
        }
        Ok(())
    }
pub fn _add_receptors ( & self , batch : & mut graphics :: spritebatch :: SpriteBatch , ) -> Result < ( ) , ggez :: GameError > { for & column_position in & self . column_positions { batch . add ( graphics :: DrawParam :: new ( ) . dest ( [ column_position as f32 , self . receptor_height as f32 ] ) , ) ; } Ok ( ( ) ) }
this will likely be the method to draw receptors in the future, but it is not currently in use
this will likely be the method to draw receptors in the future but it is not currently in use
&self
batch
&mut graphics::spritebatch::SpriteBatch
&self
batch
&mut graphics::spritebatch::SpriteBatch