Expose mut ability
This commit is contained in:
parent
26ae90118d
commit
a837ab72dd
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue