summaryrefslogtreecommitdiff
path: root/game/src/main.rs
blob: 05a25bda633b684da4b06e783ed3b971e9680ad7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use dungeon::*;
use graphics::*;

fn main() {
	let mut window = Window::new(720, 480, "game");
	// Initial game state
	let dungeon = Dungeon::default();

	// Main game loop
	while window.is_open() {
		// TODO update game state
		// Draw a single frame
		window.renderer().draw_frame(&dungeon);
	}
}