summaryrefslogtreecommitdiffstats
path: root/svgbob/src/loc.rs
diff options
context:
space:
mode:
authorJovansonlee Cesar <ivanceras@gmail.com>2018-08-02 01:48:34 +0800
committerJovansonlee Cesar <ivanceras@gmail.com>2018-08-02 01:48:34 +0800
commit0e1b689ac20b9f8cd93033f86e2664a29aa6016d (patch)
tree85ac6e60b44179b5e18f4864f8d1fb55502c20e4 /svgbob/src/loc.rs
parent7c9450893c722b78ff7689c78c00150521fdab8d (diff)
Alter the logic of getting the elements, Get the enhance_elements first and take note of the consumed locations, then run the normal get elements while avoiding the consumed locations
Diffstat (limited to 'svgbob/src/loc.rs')
-rw-r--r--svgbob/src/loc.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/svgbob/src/loc.rs b/svgbob/src/loc.rs
index dbf0cf0..fa83d11 100644
--- a/svgbob/src/loc.rs
+++ b/svgbob/src/loc.rs
@@ -3,6 +3,7 @@ use location::Location;
use location::Direction::{Top,Bottom,Left,Right,TopLeft,TopRight,BottomLeft,BottomRight};
/// Location of Block relative to the Grid
+/// This the equivalent to the cell cation in the grid
#[derive(Debug, Clone, PartialEq, PartialOrd, Eq)]
pub struct Loc {
pub x: i32,