changed little things in the arduboy-rust crate & added gamelogic of drboy

This commit is contained in:
Zenn 2023-08-21 05:24:03 +02:00
parent ae84c66d13
commit 6be633cc9b
10 changed files with 340 additions and 86 deletions

View file

@ -40,6 +40,7 @@ impl Not for Color {
}
}
/// This struct is used by a few Arduboy functions.
#[derive(Debug, Clone, Copy)]
pub struct Rect {
/// Position X
pub x: i16,
@ -51,6 +52,7 @@ pub struct Rect {
pub height: u8,
}
/// This struct is used by a few Arduboy functions.
#[derive(Debug, Clone, Copy)]
pub struct Point {
/// Position X
pub x: i16,