forked from karx/catbox
Update 'src/lib.rs'
This commit is contained in:
parent
d4f64615b6
commit
bf4dbf6e5a
|
@ -737,7 +737,7 @@ impl Game {
|
||||||
///Run this within the game loop
|
///Run this within the game loop
|
||||||
///```
|
///```
|
||||||
///# use cat_box::Game;
|
///# use cat_box::Game;
|
||||||
///let game = Game::new("wacky game", 1000, 1000);
|
///# let game = Game::new("wacky game", 1000, 1000);
|
||||||
///# game.run(|ctx| {
|
///# game.run(|ctx| {
|
||||||
/// if game.step() >= 1000
|
/// if game.step() >= 1000
|
||||||
/// {
|
/// {
|
||||||
|
|
Loading…
Reference in a new issue