2025-08-28 08:34:40 -04:00
|
|
|
//bevy system signatures often violate these rules
|
|
|
|
|
#![allow(clippy::type_complexity)]
|
|
|
|
|
#![allow(clippy::too_many_arguments)]
|
|
|
|
|
|
|
|
|
|
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-30 23:39:18 -04:00
|
|
|
#[require(Health, Team::Inhabitant, Drops)]
|
2025-08-28 08:34:40 -04:00
|
|
|
pub struct Inhabitant;
|