diff options
Diffstat (limited to 'stockton-levels/src/traits/effects.rs')
-rw-r--r-- | stockton-levels/src/traits/effects.rs | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/stockton-levels/src/traits/effects.rs b/stockton-levels/src/traits/effects.rs deleted file mode 100644 index 75e696e..0000000 --- a/stockton-levels/src/traits/effects.rs +++ /dev/null @@ -1,19 +0,0 @@ -use super::HasBrushes; -use crate::coords::CoordSystem; - -/// One effect definition -#[derive(Debug, Clone, PartialEq)] -pub struct Effect { - /// The name of the effect - always 64 characters long - pub name: String, - - /// The brush used for this effect - pub brush_idx: u32, // todo: unknown: i32 -} - -pub trait HasEffects<S: CoordSystem>: HasBrushes<S> { - type EffectsIter<'a>: Iterator<Item = &'a Effect>; - - fn effects_iter(&self) -> Self::EffectsIter<'_>; - fn get_effect(&self, index: u32) -> &Effect; -} |