diff options
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, |