diff options
| author | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-08-25 21:10:40 +0200 |
|---|---|---|
| committer | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-23 10:05:44 +0200 |
| commit | 8f5e6d1e73f16e3cdd523f961d06e4b4eb5a8cef (patch) | |
| tree | 57cafd6d8bf42f804da8e2246f64c43a1c52b100 /src/shapes/index.js | |
| parent | c47a27b826f7d76410308a4151611a366f9eaf46 (diff) | |
Implement wall drawing
Diffstat (limited to 'src/shapes/index.js')
| -rw-r--r-- | src/shapes/index.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/shapes/index.js b/src/shapes/index.js index bea0f1aa..7f65982b 100644 --- a/src/shapes/index.js +++ b/src/shapes/index.js @@ -136,4 +136,11 @@ Shapes.Path = PropTypes.shape({ sections: PropTypes.arrayOf(Shapes.Section), }); +Shapes.WallSegment = PropTypes.shape({ + startPosX: PropTypes.number.isRequired, + startPosY: PropTypes.number.isRequired, + isHorizontal: PropTypes.bool.isRequired, + length: PropTypes.number.isRequired, +}); + export default Shapes; |
