add coranth moving towards target and post-attack event
This commit is contained in:
parent
e9790f156d
commit
1f8ecf9a9e
15 changed files with 249 additions and 58 deletions
16
crates/inhabitant/src/lib.rs
Normal file
16
crates/inhabitant/src/lib.rs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
//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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue