18 lines
480 B
Rust
Executable file
18 lines
480 B
Rust
Executable file
//bevy system signatures often violate these rules
|
|
#![allow(clippy::type_complexity)]
|
|
#![allow(clippy::too_many_arguments)]
|
|
|
|
use avian3d::prelude::*;
|
|
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(CollisionLayers=Team::Inhabitant.collision_layers(), Health, Team::Inhabitant, Drops)]
|
|
pub struct Inhabitant;
|