Player is now sorted into the objects folder

Development
Johannes Hendrik Gerard van der Weide 2024-01-11 14:00:23 +01:00
parent 07e05ab805
commit 16ac1444ce
3 changed files with 4 additions and 3 deletions

View File

@ -1,8 +1,8 @@
use bevy::prelude::*;
use player::PlayerPlugin;
use serde::{Deserialize, Serialize};
use std::path::Path;
use crate::player::Player;
use crate::objects::player::Player;
use crate::objects::player::PlayerPlugin;
use crate::levelgen::LevelgenPlugin;
use crate::setup::config_loader::load_yaml_folder;
@ -23,8 +23,8 @@ pub struct InputVisual {
pub input_direction: Vec2,
}
pub mod objects;
pub mod setup;
mod player;
mod levelgen;
fn main() {

1
src/objects.rs Normal file
View File

@ -0,0 +1 @@
pub mod player;