summaryrefslogtreecommitdiffstats
path: root/CLI/rust/src/game_of_life/generators
diff options
context:
space:
mode:
authora14m <[email protected]>2021-04-07 14:24:44 +0200
committera14m <[email protected]>2021-04-07 14:24:44 +0200
commitaa0c96b05c7012ac84a3787dcb2b661c7bf53029 (patch)
treed15247aa76f423f8d7220204344de9a53f17f0d7 /CLI/rust/src/game_of_life/generators
parentbd0ef4dcf5b46664c9e0b206f6acd8cf9b3532da (diff)
Refactor module structure to split universe/plane
The objects will grow bigger and might be hard for readability to keep them in 1 file hence the split
Diffstat (limited to 'CLI/rust/src/game_of_life/generators')
-rw-r--r--CLI/rust/src/game_of_life/generators/input.rs2
-rw-r--r--CLI/rust/src/game_of_life/generators/seed.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/CLI/rust/src/game_of_life/generators/input.rs b/CLI/rust/src/game_of_life/generators/input.rs
index 710ac8f..cfa2784 100644
--- a/CLI/rust/src/game_of_life/generators/input.rs
+++ b/CLI/rust/src/game_of_life/generators/input.rs
@@ -1,5 +1,5 @@
use crate::game_of_life::opts::Opts;
-use crate::game_of_life::universe::{Universe, Plane};
+use crate::game_of_life::simulation::{universe::Universe, plane::Plane};
use clap::{Error, ErrorKind};
use curl::easy::Easy;
use regex::Regex;
diff --git a/CLI/rust/src/game_of_life/generators/seed.rs b/CLI/rust/src/game_of_life/generators/seed.rs
index d280eff..41c8f5d 100644
--- a/CLI/rust/src/game_of_life/generators/seed.rs
+++ b/CLI/rust/src/game_of_life/generators/seed.rs
@@ -1,5 +1,5 @@
use crate::game_of_life::opts::Opts;
-use crate::game_of_life::universe::Universe;
+use crate::game_of_life::simulation::universe::Universe;
use clap::Error;
#[cfg(test)]