diff options
| author | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-08-22 10:48:01 +0200 |
|---|---|---|
| committer | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-23 10:05:44 +0200 |
| commit | 602c3eb9327a3681f5a220e13b8291bb60643cd7 (patch) | |
| tree | 08bbcad1460419af12c59ecf60d102af161bf57f /src/components/map/MapConstants.js | |
| parent | 193e7b32d5e3d356021a5bb8f777fec3bdc413e7 (diff) | |
Add tile rendering logic
Diffstat (limited to 'src/components/map/MapConstants.js')
| -rw-r--r-- | src/components/map/MapConstants.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/map/MapConstants.js b/src/components/map/MapConstants.js index 74779c94..3c613da3 100644 --- a/src/components/map/MapConstants.js +++ b/src/components/map/MapConstants.js @@ -2,5 +2,9 @@ export const MAP_SIZE = 50; export const TILE_SIZE_IN_PIXELS = 50; export const MAP_SIZE_IN_PIXELS = MAP_SIZE * TILE_SIZE_IN_PIXELS; +export const OBJECT_MARGIN_IN_PIXELS = 5; +export const OBJECT_SIZE_IN_PIXELS = 40; + export const GRID_LINE_WIDTH_IN_PIXELS = 2; export const ROOM_BORDER_WIDTH_IN_PIXELS = 5; +export const OBJECT_BORDER_WIDTH_IN_PIXELS = 5; |
