Mercurial > touhou
diff examples/eclrenderer.rs @ 670:cdb484115c5b
Use the requested rank in eclrenderer.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Mon, 12 Aug 2019 15:10:39 +0200 |
parents | 965ecdbf0316 |
children | ac092b70c39a |
line wrap: on
line diff
--- a/examples/eclrenderer.rs +++ b/examples/eclrenderer.rs @@ -125,7 +125,7 @@ fn main() { let prng = Rc::new(RefCell::new(Prng::new(0))); // Create the Game god object. - let game = Game::new(prng, Rank::Normal); + let game = Game::new(prng, rank); let game = Rc::new(RefCell::new(game)); // And the enemy object.