add coranth moving towards target and post-attack event

This commit is contained in:
Jim 2025-08-28 08:34:40 -04:00
parent e9790f156d
commit 1f8ecf9a9e
Signed by: jim
GPG key ID: 3236D2F059A7C0AC
15 changed files with 249 additions and 58 deletions

View file

@ -0,0 +1,11 @@
[package]
name = "inhabitant"
version = "0.1.0"
edition = "2024"
[dependencies]
bevy = { workspace = true }
combat = { path = "../combat" }
[lints]
workspace = true

View 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;