hide parsing related types further inwards

This commit is contained in:
MaxOhn
2021-02-23 20:27:52 +01:00
parent 00a8b990d0
commit f3d097cec5
21 changed files with 54 additions and 24 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
use crate::Pos2;
use crate::parse::Pos2;
const PLAYFIELD_WIDTH: f32 = 512.0;
const BASE_SPEED: f32 = 1.0;
+5 -1
View File
@@ -12,7 +12,11 @@ use movement::Movement;
pub use pp::*;
use slider_state::SliderState;
use crate::{curve::Curve, Beatmap, HitObjectKind, Mods, PathType, Pos2, StarResult, Strains};
use crate::{
curve::Curve,
parse::{HitObjectKind, PathType, Pos2},
Beatmap, Mods, StarResult, Strains,
};
use std::convert::identity;
+4 -1
View File
@@ -44,7 +44,10 @@ impl<'p> SliderState<'p> {
#[cfg(test)]
mod test {
use crate::{Beatmap, DifficultyPoint, TimingPoint};
use crate::{
parse::{DifficultyPoint, TimingPoint},
Beatmap,
};
use super::SliderState;