use crate::properties::{
rectangle::Rectangle,
color::Color,
};
use crate::event::Input;
use super::audio::Audio;
pub trait Api: Audio {
fn clear(&mut self);
fn draw_rect(&mut self, rect: Rectangle, color: Color);
fn is_window_open(&self) -> bool;
fn display(&mut self);
fn events(&mut self) -> Vec<Input>;
fn window_size(&self) -> (u32, u32);
}