rust-console / gba

A crate that helps you make GBA games
https://docs.rs/gba
Apache License 2.0
652 stars 50 forks source link

[Suggestion] Make voladdress and bitfrob workplace inherited #173

Closed gruxor closed 7 months ago

gruxor commented 2 years ago

Not a huge deal, but if the plan is to use them as argument types for certain functions (u8x2, etc.) the types should most likely be included without needing to manually add the package containing those types. Alternatively, the types could be wrapped or re-implemented, I suppose.

There's probably a bunch of other options for making it a bit cleaner if none of the above seems enticing.

Lokathor commented 2 years ago

they could be publicly re-exported from the gba::prelude, that's probably the simplest fix.