el_diablo/src/game.rs

7 lines
153 B
Rust

use crate::level::Level;
use crate::player::Player;
pub struct Game<'game> {
pub player: &'game mut Player,
pub levels: Vec<&'game mut Level>,
}