Better error handling

This commit is contained in:
2026-05-24 07:36:43 +01:00
parent 74aa9e8a84
commit 08c028bfa8
6 changed files with 55 additions and 20 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
use sdl3::{Sdl, pixels::Color, render::Canvas, ttf::Font, video::Window};
extern crate serde;
extern crate serde_derive;
use serde::{Serialize, Deserialize};
pub struct Screen<'a> {
pub(crate) canvas: Box<Canvas<Window>>,