diff options
| author | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-03 17:53:03 +0200 |
|---|---|---|
| committer | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-23 10:05:56 +0200 |
| commit | 81e517002bfdfbcd75109c562d890a27d190889b (patch) | |
| tree | d69171040b5b9bfd45bfa4a51427a2138ffe9ea4 /src/components/map/MapConstants.js | |
| parent | 17ae0a3fafd806a5a533bf1d51a3ac708a8cf978 (diff) | |
Convert map movement to keyboard-based navigation
Diffstat (limited to 'src/components/map/MapConstants.js')
| -rw-r--r-- | src/components/map/MapConstants.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/map/MapConstants.js b/src/components/map/MapConstants.js index eca8e516..69fdb419 100644 --- a/src/components/map/MapConstants.js +++ b/src/components/map/MapConstants.js @@ -8,3 +8,5 @@ export const OBJECT_SIZE_IN_PIXELS = TILE_SIZE_IN_PIXELS - OBJECT_MARGIN_IN_PIXE export const GRID_LINE_WIDTH_IN_PIXELS = 2; export const WALL_WIDTH_IN_PIXELS = TILE_SIZE_IN_PIXELS / 8; export const OBJECT_BORDER_WIDTH_IN_PIXELS = TILE_SIZE_IN_PIXELS / 12; + +export const MAP_MOVE_PIXELS_PER_EVENT = 20; |
