add empty overworld world type

This commit is contained in:
Dominic 2024-07-06 13:57:47 +02:00
parent 576b21d8b9
commit baae917d0b
Signed by: msrd0
GPG key ID: AAF7C8430CA3345D
4 changed files with 17 additions and 12 deletions

View file

@ -1,8 +1,9 @@
pub mod house;
pub mod overworld;
#[derive(Debug)]
#[derive(Debug, Default)]
pub enum Activity {
#[default]
House,
Overworld
}

View file

@ -1,5 +1,7 @@
use comfy::*;
pub mod worldgen;
pub fn draw(_state: &crate::State, _engine: &comfy::EngineContext) {
draw_circle(vec2(0.0, 0.0), 0.5, GREEN, 0);
}

View file

@ -0,0 +1,9 @@
#[derive(Debug)]
pub struct Overworld;
impl Default for Overworld {
fn default() -> Self {
Self
}
}