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