Minor edit

master
Mark 2024-01-23 15:50:16 -08:00
parent 8ae584b87e
commit 5b4c483849
Signed by: Mark
GPG Key ID: C6D63995FE72FD80
1 changed files with 5 additions and 0 deletions

View File

@ -313,4 +313,9 @@ impl SpriteAutomaton {
fade: self.current_edge_progress / self.current_edge_duration,
};
}
/// Get the sprite this automaton is using
pub fn get_sprite(&self) -> SpriteHandle {
self.sprite
}
}