changed little things in the arduboy-rust crate & added gamelogic of drboy
This commit is contained in:
parent
ae84c66d13
commit
6be633cc9b
10 changed files with 340 additions and 86 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue