pub mod braille;
pub mod diff_print;
pub mod legacy_debug;
use std::io::{self, Write};
use falling_tetromino_engine::{Feedback, Game, InGameTime};
use crate::{
application::{GameMetaData, Settings},
fmt_helpers::KeybindsLegend,
};
pub trait Renderer: Default {
fn push_game_feedback_msgs(
&mut self,
feedback_msgs: impl IntoIterator<Item = (InGameTime, Feedback)>,
);
#[allow(clippy::too_many_arguments)]
fn render<T: Write>(
&mut self,
game: &Game,
meta_data: &GameMetaData,
settings: &Settings,
keybinds_legend: &KeybindsLegend,
replay_extra: Option<(InGameTime, f64)>,
term: &mut T,
rerender_entire_view: bool,
) -> io::Result<()>;
}