Rename machine button spawner, "big red button"
It's the big red button. Don't press it. Or do.
This commit is contained in:
@@ -2,7 +2,7 @@ use bevy::{color::palettes::css::*, prelude::*, ui::Val::*};
|
||||
|
||||
use crate::{
|
||||
game::machines::*,
|
||||
widgets::{machine_ui_base, spawn_machine_button},
|
||||
widgets::{machine_ui_base, spawn_big_red_button},
|
||||
};
|
||||
|
||||
impl CuttingMachine {
|
||||
@@ -42,7 +42,7 @@ impl CuttingMachine {
|
||||
BackgroundColor(DARK_GRAY.into()),
|
||||
Pickable::default(),
|
||||
))
|
||||
.with_children(|cmds| spawn_machine_button(cmds, "CUT"));
|
||||
.with_children(|cmds| spawn_big_red_button(cmds, "CUT"));
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -83,7 +83,7 @@ impl RotatingMachine {
|
||||
BackgroundColor(DARK_GRAY.into()),
|
||||
Pickable::default(),
|
||||
))
|
||||
.with_children(|cmds| spawn_machine_button(cmds, "TURN"));
|
||||
.with_children(|cmds| spawn_big_red_button(cmds, "TURN"));
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user