organicomplex 0.7.0

Interactive complex-valued cellular automaton on 2D and 3D grids in search of that stuff - emergence, open-endedness, organicity etc.
use std::time::Instant;

pub struct System {
    start: Instant
}

impl System {
    pub fn init() -> Result<System, String> {
        let start = Instant::now();
        Ok(System{start})
    }

    /// Time since start in microseconds
    pub fn now(&self) -> i128 {
        self.start.elapsed().as_micros() as i128
    }

    pub fn shut(&mut self) -> Result<(), String> {
        Ok(())
    }
}