More work
This commit is contained in:
@@ -3,7 +3,6 @@ use ratatui::layout::Rect;
|
||||
use ratatui::style::Color;
|
||||
use ratatui::widgets::{StatefulWidget, Widget};
|
||||
|
||||
use crate::artifacts::Artifact;
|
||||
use crate::game::Game;
|
||||
use crate::level::StructureElement;
|
||||
|
||||
@@ -66,7 +65,7 @@ impl StatefulWidget for LevelWidget {
|
||||
}
|
||||
}
|
||||
}
|
||||
(_, Some(t), _) => {
|
||||
(_, Some(_), _) => {
|
||||
self.set_cell(buf, x, y, "M", Color::Red, Color::Gray);
|
||||
}
|
||||
(_, _, Some(t)) => {
|
||||
@@ -89,5 +88,5 @@ impl StatefulWidget for LevelWidget {
|
||||
}
|
||||
|
||||
impl Widget for LevelWidget {
|
||||
fn render(self, area: Rect, buf: &mut Buffer) {}
|
||||
}
|
||||
fn render(self, _area: Rect, _buf: &mut Buffer) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user