Expose mut ability

This commit is contained in:
hodasemi 2024-08-29 11:54:45 +02:00
parent 26ae90118d
commit a837ab72dd

View file

@ -196,6 +196,10 @@ impl<A: Ability> AbilityBook<A> {
&self.ability
}
pub fn ability_mut(&mut self) -> &mut A {
&mut self.ability
}
pub fn addons(&self) -> &AbilityAddonCollection {
&self.addons
}