mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 16:21:33 +11:00
add show / hide implementations
This commit is contained in:
parent
9adbfbe275
commit
300aafd665
|
@ -37,6 +37,12 @@ impl ObjectStandard {
|
|||
pub fn set_hflip(&mut self, hflip: bool) {
|
||||
self.attributes.set_hflip(hflip)
|
||||
}
|
||||
pub fn show(&mut self) {
|
||||
self.attributes.set_mode(Mode::Normal)
|
||||
}
|
||||
pub fn hide(&mut self) {
|
||||
self.attributes.set_mode(Mode::Hidden)
|
||||
}
|
||||
}
|
||||
|
||||
pub struct ObjectAttributeStandard {
|
||||
|
|
Loading…
Reference in a new issue