implement blueprint creation, placement, saving and loading

This commit is contained in:
Crispy 2024-10-10 16:58:50 +02:00
parent 3e4eb21e5e
commit e22f568d2f
9 changed files with 281 additions and 40 deletions

View file

@ -139,7 +139,7 @@ impl Machine {
if let Tile::Powerable(PTile::Bag, _) = front_tile {
return Event::Remove;
}
if let Tile::Powerable(PTile::IO, _) = front_tile{
if let Tile::Powerable(PTile::IO, _) = front_tile {
self.output.push(value as u8);
return Event::Remove;
}