summaryrefslogtreecommitdiff
path: root/src/engine
diff options
context:
space:
mode:
authorJustin Worthe <justin@worthe-it.co.za>2018-08-09 13:07:15 +0200
committerJustin Worthe <justin@worthe-it.co.za>2018-08-09 13:07:15 +0200
commit72a86bb4c043b6316e5c5f163cdd1e66cb99229f (patch)
treea4abbfafe6e65b50db398a9b23cc435a28fa0a69 /src/engine
parentf6e6e99cb233549cd913e87efb1062c3b50dbbaf (diff)
Added more TODO ideas
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/bitwise_engine.rs1
-rw-r--r--src/engine/geometry.rs3
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,