add tower selection UI, cancellable actions, and pause UI

This commit is contained in:
Jim 2025-08-31 12:08:44 -04:00
parent 138a524abd
commit 918b4884b2
Signed by: jim
GPG key ID: 3D7D94BA53088BF4
18 changed files with 468 additions and 23 deletions

View file

@ -6,6 +6,7 @@ edition = "2024"
[dependencies]
bevy = { workspace = true }
avian3d = { workspace = true }
bevy_egui = { workspace = true }
state = { path = "../state" }
camera = { path = "../camera" }

View file

@ -11,6 +11,7 @@ use bevy::{
prelude::*,
render::camera::Exposure,
};
use bevy_egui::PrimaryEguiContext;
use building::{BuildingTypes, PlaceBuilding};
use camera::ControlledCamera;
use inhabitant_coranth::SpawnCoranth;
@ -86,6 +87,7 @@ fn setup(
Exposure::SUNLIGHT,
Bloom::NATURAL,
PhysicsPickable,
PrimaryEguiContext,
Transform::from_xyz(-2.5, 9.5, 9.0).looking_at(Vec3::ZERO, Dir3::Y),
));
}