2025-08-24 20:13:22 -04:00
|
|
|
//bevy system signatures often violate these rules
|
|
|
|
|
#![allow(clippy::type_complexity)]
|
|
|
|
|
#![allow(clippy::too_many_arguments)]
|
|
|
|
|
|
|
|
|
|
use bevy::prelude::*;
|
|
|
|
|
use combat::Health;
|
|
|
|
|
|
|
|
|
|
pub struct BuildingPlugin;
|
|
|
|
|
|
|
|
|
|
impl Plugin for BuildingPlugin {
|
|
|
|
|
fn build(&self, _app: &mut App) {}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#[derive(Component, Default)]
|
|
|
|
|
#[require(Health)]
|
2025-08-25 08:31:33 -04:00
|
|
|
pub struct Building {
|
|
|
|
|
pub level: u32,
|
|
|
|
|
}
|