dragging! and some other things, also bevy 0.8 now(which is annoying me currently due to a weird bug in exit

This commit is contained in:
RustyStriker 2022-08-01 18:33:21 +03:00
parent 509a11a6a9
commit 1da4c5b473
9 changed files with 509 additions and 478 deletions

View file

@ -6,12 +6,10 @@ use bevy_egui::egui;
pub mod create;
pub mod helpers;
pub mod modify;
pub mod rotate;
pub mod ui;
pub use ui::{action_bar_sys, shape_tree_sys};
pub use modify::modify_sys;
pub use create::create_sys;
pub use rotate::rotate_sys;
pub use helpers::*;
@ -36,7 +34,7 @@ pub enum CreateShape {
#[derive(Debug, PartialEq, Eq, Clone, Copy)]
pub enum Action {
Create, Modify, Rotate
Create, Modify
}
pub struct UiState {
pub current_action: Action,