use bevy::ecs::{ bundle::Bundle, component::Component }; use bevy_ecs_ldtk::{ utils::LdtkSpriteSheetBundle, EntityInstance, LdtkEntity }; #[derive(Copy, Clone, Eq, PartialEq, Debug, Default, Component)] pub struct Torch; #[derive(Clone, Default, Bundle, LdtkEntity)] pub struct TorchBundle { #[sprite_sheet_bundle] pub sprite_sheet_bundle: LdtkSpriteSheetBundle, pub torch: Torch, #[from_entity_instance] pub instance: EntityInstance, }