diff options
author | Justin Worthe <justin@worthe-it.co.za> | 2018-08-09 13:07:15 +0200 |
---|---|---|
committer | Justin Worthe <justin@worthe-it.co.za> | 2018-08-09 13:07:15 +0200 |
commit | 72a86bb4c043b6316e5c5f163cdd1e66cb99229f (patch) | |
tree | a4abbfafe6e65b50db398a9b23cc435a28fa0a69 /src/engine | |
parent | f6e6e99cb233549cd913e87efb1062c3b50dbbaf (diff) |
Added more TODO ideas
Diffstat (limited to 'src/engine')
-rw-r--r-- | src/engine/bitwise_engine.rs | 1 | ||||
-rw-r--r-- | src/engine/geometry.rs | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/engine/bitwise_engine.rs b/src/engine/bitwise_engine.rs index db31511..8a4ea91 100644 --- a/src/engine/bitwise_engine.rs +++ b/src/engine/bitwise_engine.rs @@ -16,6 +16,7 @@ pub struct BitwiseGameState { pub opponent_buildings: PlayerBuildings, } +//TODO: Add in smallvec? #[derive(Debug, Clone, PartialEq, Eq)] pub struct PlayerBuildings { pub unconstructed: Vec<UnconstructedBuilding>, diff --git a/src/engine/geometry.rs b/src/engine/geometry.rs index 28df774..de9d95a 100644 --- a/src/engine/geometry.rs +++ b/src/engine/geometry.rs @@ -1,5 +1,8 @@ use engine::constants::*; +//TODO: Change Point to be a single number, or stored as a bitfield +// (bitfield to x and y for writing move might be hard? + #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub struct Point { pub x: u8, |