Monster in Level
This commit is contained in:
@@ -11,8 +11,8 @@ pub struct Game<'game> {
|
||||
impl Game<'_> {
|
||||
pub fn new(p: &mut Player) -> Game {
|
||||
let mut v: Vec<Level> = Vec::with_capacity(LEVELS);
|
||||
for _ in 0..LEVELS {
|
||||
let l = Level::new();
|
||||
for d in 0..LEVELS {
|
||||
let l = Level::new(d);
|
||||
v.push(l);
|
||||
}
|
||||
Game {
|
||||
|
||||
Reference in New Issue
Block a user