diff options
author | Justin Worthe <justin@worthe-it.co.za> | 2019-08-10 16:12:35 +0200 |
---|---|---|
committer | Justin Worthe <justin@worthe-it.co.za> | 2019-08-10 16:12:35 +0200 |
commit | 3bfb933d54b09ca57ef9b6a7fb05aca64ba8b76e (patch) | |
tree | 21c8ac1ffeedfc42e6e43a74e7dd5ab1ac569e98 /src | |
parent | 903a5a1e9a3f5a7029f8fc30b05fff5c9a77eee3 (diff) |
Removed tiny hashmap
Diffstat (limited to 'src')
-rw-r--r-- | src/game.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game.rs b/src/game.rs index 78fd965..15f915c 100644 --- a/src/game.rs +++ b/src/game.rs @@ -13,7 +13,6 @@ pub mod map; use map::*; use arrayvec::ArrayVec; -use fnv::FnvHashSet; #[derive(Debug, PartialEq, Eq, Clone)] pub struct GameBoard { @@ -22,7 +21,7 @@ pub struct GameBoard { pub players: [Player; 2], pub powerups: ArrayVec<[Powerup; 2]>, pub map: Map, - pub occupied_cells: FnvHashSet<Point2d<i8>>, + pub occupied_cells: ArrayVec<[Point2d<i8>; 6]>, pub outcome: SimulationOutcome, } |