2025-08-28 08:34:40 -04:00
|
|
|
//bevy system signatures often violate these rules
|
|
|
|
|
#![allow(clippy::type_complexity)]
|
|
|
|
|
#![allow(clippy::too_many_arguments)]
|
|
|
|
|
|
2025-08-31 19:00:19 -04:00
|
|
|
use avian3d::prelude::*;
|
2025-08-28 08:34:40 -04:00
|
|
|
use bevy::prelude::*;
|
|
|
|
|
use combat::{Health, Team};
|
2025-08-30 23:39:18 -04:00
|
|
|
use resources::Drops;
|
2025-08-28 08:34:40 -04:00
|
|
|
|
|
|
|
|
pub struct InhabitantPlugin;
|
|
|
|
|
|
|
|
|
|
impl Plugin for InhabitantPlugin {
|
|
|
|
|
fn build(&self, _app: &mut App) {}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#[derive(Component, Default)]
|
2025-08-31 19:00:19 -04:00
|
|
|
#[require(CollisionLayers=Team::Inhabitant.collision_layers(), Health, Team::Inhabitant, Drops)]
|
2025-08-28 08:34:40 -04:00
|
|
|
pub struct Inhabitant;
|