forked from karx/catbox
fixed(?) docs
This commit is contained in:
parent
c23e28af0e
commit
d4f64615b6
|
@ -736,6 +736,8 @@ impl Game {
|
|||
///
|
||||
///Run this within the game loop
|
||||
///```
|
||||
///# use cat_box::Game;
|
||||
///let game = Game::new("wacky game", 1000, 1000);
|
||||
///# game.run(|ctx| {
|
||||
/// if game.step() >= 1000
|
||||
/// {
|
||||
|
|
Loading…
Reference in a new issue