Add machine components to the other dummies

This commit is contained in:
2025-08-29 10:08:13 -05:00
parent 4a80b4f4ad
commit fb8a27325e

View File

@@ -57,6 +57,7 @@ fn dummy_machines(mut commands: Commands) {
commands commands
.spawn(( .spawn((
RotatingMachine,
Sprite::from_color(GREEN, Vec2::splat(40.0)), Sprite::from_color(GREEN, Vec2::splat(40.0)),
Transform::from_translation(Vec3::new(40.0, 40.0, 0.0)), Transform::from_translation(Vec3::new(40.0, 40.0, 0.0)),
Pickable::default(), Pickable::default(),
@@ -66,6 +67,7 @@ fn dummy_machines(mut commands: Commands) {
// TODO: The other observers, once they have a spawner struct & impl. // TODO: The other observers, once they have a spawner struct & impl.
commands commands
.spawn(( .spawn((
FlippingMachine,
Sprite::from_color(PURPLE, Vec2::splat(40.)), Sprite::from_color(PURPLE, Vec2::splat(40.)),
Transform::from_translation(Vec3::new(-40.0, -40.0, 0.0)), Transform::from_translation(Vec3::new(-40.0, -40.0, 0.0)),
Pickable::default(), Pickable::default(),
@@ -74,6 +76,7 @@ fn dummy_machines(mut commands: Commands) {
commands commands
.spawn(( .spawn((
TransposingMachine,
Sprite::from_color(DARK_ORANGE, Vec2::splat(40.)), Sprite::from_color(DARK_ORANGE, Vec2::splat(40.)),
Transform::from_translation(Vec3::new(40.0, -40.0, 0.0)), Transform::from_translation(Vec3::new(40.0, -40.0, 0.0)),
Pickable::default(), Pickable::default(),