Separated goals and walls

This commit is contained in:
2024-11-05 14:31:15 +02:00
parent bd96dab0c1
commit 26d7f3b40a
2 changed files with 45 additions and 0 deletions

10
src/level_structure.rs Normal file
View File

@@ -0,0 +1,10 @@
use bevy::prelude::*;
use bevy_ecs_ldtk::prelude::*;
#[derive(Default, Component)]
pub struct Wall;
#[derive(Default, Bundle, LdtkIntCell)]
pub struct WallBundle {
wall: Wall,
}