coreheart/crates/inhabitant/src/lib.rs

18 lines
402 B
Rust
Raw Normal View History

//bevy system signatures often violate these rules
#![allow(clippy::type_complexity)]
#![allow(clippy::too_many_arguments)]
use bevy::prelude::*;
use combat::{Health, Team};
use resources::Drops;
pub struct InhabitantPlugin;
impl Plugin for InhabitantPlugin {
fn build(&self, _app: &mut App) {}
}
#[derive(Component, Default)]
#[require(Health, Team::Inhabitant, Drops)]
pub struct Inhabitant;