Gaeros's picture
build you shall
dda7d52
raw
history blame contribute delete
No virus
473 Bytes
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,
}