resource production via graveyard, workers, and selectable buildlings
This commit is contained in:
parent
87fcc35a49
commit
921947c131
20 changed files with 364 additions and 24 deletions
|
|
@ -9,6 +9,7 @@ use bevy::{
|
|||
prelude::*,
|
||||
};
|
||||
use combat::{Health, Team};
|
||||
use input::Selectable;
|
||||
use resources::{Cost, Resources};
|
||||
use state::GameSystemSet;
|
||||
|
||||
|
|
@ -24,7 +25,7 @@ impl Plugin for BuildingPlugin {
|
|||
}
|
||||
|
||||
#[derive(Component)]
|
||||
#[require(Health, Team::Core, PhysicsPickable)]
|
||||
#[require(Health, Team::Core, PhysicsPickable, Selectable)]
|
||||
pub struct Building {
|
||||
pub level: u32,
|
||||
pub info: Entity,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue