1
0
Fork 0
roguelike-game/src/main.rs

15 lines
373 B
Rust
Raw Normal View History

use ::bracket_lib::prelude::*;
2022-01-21 15:55:13 -05:00
/// The entry point
fn main() -> BError {
let context = BTermBuilder::simple(80, 60)
.unwrap()
.with_title("Roguelike Tutorial")
.with_font("vga8x16.png", 8, 16)
.with_sparse_console(80, 30, "vga8x16.png")
.with_vsync(false)
.build()?;
2022-02-10 11:54:57 -05:00
main_loop(context, ::tim_rogue::init_state())
2021-10-21 12:54:39 -04:00
}