diff options
Diffstat (limited to 'stockton-levels/src/traits/effects.rs')
-rw-r--r-- | stockton-levels/src/traits/effects.rs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/stockton-levels/src/traits/effects.rs b/stockton-levels/src/traits/effects.rs index dec2122..73f55bd 100644 --- a/stockton-levels/src/traits/effects.rs +++ b/stockton-levels/src/traits/effects.rs @@ -25,14 +25,12 @@ pub struct Effect { pub name: String, /// The brush used for this effect - pub brush_idx: u32 - - // todo: unknown: i32 + pub brush_idx: u32, // todo: unknown: i32 } pub trait HasEffects<S: CoordSystem>: HasBrushes<S> { type EffectsIter<'a>: Iterator<Item = &'a Effect>; - fn effects_iter<'a>(&'a self) -> Self::EffectsIter<'a>; - fn get_effect<'a>(&'a self, index: u32) -> &'a Effect; + fn effects_iter(&self) -> Self::EffectsIter<'_>; + fn get_effect(&self, index: u32) -> &Effect; } |