BIG rewrite and changes (too many to list)

This commit is contained in:
Simon Gardling
2021-04-01 11:24:29 -04:00
parent dc2e46c51b
commit 4864ccae75
6 changed files with 42 additions and 30 deletions

View File

@@ -22,12 +22,8 @@ impl Display for Agent {
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
write!(
f,
"{{\n (x,y): ({},{})\n angle: {}\n population id: {}, i: {} }}",
self.x,
self.y,
self.angle,
self.population_id,
self.i,
"{{\n(x,y): ({},{})\nangle: {}\npopulation id: {}\ni: {}}}",
self.x, self.y, self.angle, self.population_id, self.i,
)
}
}