File cleanup
This commit is contained in:
+5
-3
@@ -2,9 +2,9 @@ use bevy::prelude::*;
|
||||
use bevy_rand::prelude::*;
|
||||
|
||||
mod camera;
|
||||
mod citizen;
|
||||
mod constants;
|
||||
mod cursor;
|
||||
mod entities;
|
||||
mod game;
|
||||
mod item;
|
||||
mod tile;
|
||||
@@ -36,13 +36,15 @@ fn main() {
|
||||
))
|
||||
.insert_resource(ClearColor(Color::srgb(0., 0., 0.)))
|
||||
.add_plugins(tilemap::TilemapPlugin)
|
||||
.add_plugins(citizen::PathfindingPlugin)
|
||||
.add_plugins(entities::pathfinding::PathfindingPlugin)
|
||||
.add_systems(
|
||||
Startup,
|
||||
(
|
||||
camera::spawn_panning_camera,
|
||||
cursor::setup_cursor,
|
||||
citizen::spawn_citizens,
|
||||
entities::sentient::dorf::spawn_dorfs,
|
||||
entities::livestock::pig::spawn_pigs,
|
||||
entities::livestock::rabbit::spawn_rabbits,
|
||||
),
|
||||
)
|
||||
.add_systems(
|
||||
|
||||
Reference in New Issue
Block a user