Made Simulation struct

This commit is contained in:
skyeshroom
2021-08-11 13:21:12 -07:00
parent cd327c6acc
commit 3f9f0ee2fa
5 changed files with 83 additions and 63 deletions

View File

@@ -6,4 +6,4 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
hypoloop = "0.1.1"
hypoloop = {version = "0.1.1", path = "D:/Code/hypoloop"}

View File

@@ -1,3 +1,9 @@
use hypoloop::Simulation;
fn main() {
hypoloop::run_simulation();
// create sim
let mut sim = Simulation::new();
// run sim
sim.run();
}