MCPcopy Create free account
hub / github.com/Logicalshift/flo_draw / draw

Method draw

draw/examples/vectoroids.rs:230–234  ·  view source on GitHub ↗
(&self, gc: &mut dyn GraphicsContext)

Source from the content-addressed store, hash-verified

228 }
229
230 pub fn draw(&self, gc: &mut dyn GraphicsContext) {
231 self.roids.iter().for_each(|roid| roid.draw(gc));
232 self.ship.draw(gc);
233 self.bullets.iter().for_each(|bullet| bullet.draw(gc));
234 }
235}
236
237impl Ship {

Callers 15

handle_window_eventFunction · 0.45
mainFunction · 0.45
randomMethod · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
show_titleFunction · 0.45
show_statsFunction · 0.45
show_mandelbrotFunction · 0.45

Calls 2

sprite_transformMethod · 0.80
draw_spriteMethod · 0.80

Tested by

no test coverage detected