add mirror and marble sprites
This commit is contained in:
parent
d4f9be5bff
commit
de09b785d0
5 changed files with 7 additions and 4 deletions
|
@ -101,11 +101,14 @@ impl Tile {
|
|||
) {
|
||||
let tex_name = match self {
|
||||
Tile::Blank => "",
|
||||
Tile::Block => "",
|
||||
Tile::Block => "block",
|
||||
Tile::Comment(_) => "",
|
||||
Tile::Marble { value, dir } => "todo!()",
|
||||
Tile::Marble { value: _, dir: _ } => "marble",
|
||||
Tile::Digit(_) => "",
|
||||
Tile::Mirror(_) => "",
|
||||
Tile::Mirror(mirror) => match mirror {
|
||||
MirrorType::Forward => "mirror_forward",
|
||||
MirrorType::Back => "mirror_back",
|
||||
},
|
||||
Tile::Arrow(dir) => match dir {
|
||||
Direction::Up => "up",
|
||||
Direction::Down => "down",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue