Add machine components to the other dummies
This commit is contained in:
@@ -57,6 +57,7 @@ fn dummy_machines(mut commands: Commands) {
|
||||
|
||||
commands
|
||||
.spawn((
|
||||
RotatingMachine,
|
||||
Sprite::from_color(GREEN, Vec2::splat(40.0)),
|
||||
Transform::from_translation(Vec3::new(40.0, 40.0, 0.0)),
|
||||
Pickable::default(),
|
||||
@@ -66,6 +67,7 @@ fn dummy_machines(mut commands: Commands) {
|
||||
// TODO: The other observers, once they have a spawner struct & impl.
|
||||
commands
|
||||
.spawn((
|
||||
FlippingMachine,
|
||||
Sprite::from_color(PURPLE, Vec2::splat(40.)),
|
||||
Transform::from_translation(Vec3::new(-40.0, -40.0, 0.0)),
|
||||
Pickable::default(),
|
||||
@@ -74,6 +76,7 @@ fn dummy_machines(mut commands: Commands) {
|
||||
|
||||
commands
|
||||
.spawn((
|
||||
TransposingMachine,
|
||||
Sprite::from_color(DARK_ORANGE, Vec2::splat(40.)),
|
||||
Transform::from_translation(Vec3::new(40.0, -40.0, 0.0)),
|
||||
Pickable::default(),
|
||||
|
||||
Reference in New Issue
Block a user