more tile buttons

This commit is contained in:
Crispy 2024-10-05 15:56:33 +02:00
parent a0f11b60fb
commit 12a8544645
6 changed files with 18 additions and 11 deletions

View file

@ -103,10 +103,10 @@ impl Tile {
MirrorType::Back => "mirror_back",
},
Tile::Arrow(dir) => match dir {
Direction::Up => "up",
Direction::Down => "down",
Direction::Left => "left",
Direction::Right => "right",
Direction::Up => "arrow_up",
Direction::Down => "arrow_down",
Direction::Left => "arrow_left",
Direction::Right => "arrow_right",
},
Tile::Powerable(tile, state) => {
let root = match tile {