File tree 9 files changed +149
-137
lines changed
9 files changed +149
-137
lines changed File renamed without changes.
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ export const CLEAR_GRID = "CLEAR_GRID";
10
10
export const TOGGLE_MOVE_START = "TOGGLE_MOVE_START" ;
11
11
export const TOGGLE_MOVE_END = "TOGGLE_MOVE_END" ;
12
12
export const LOAD_MAZE = "LOAD_MAZE" ;
13
- export const SAVE_MAZE = "SAVE_MAZE" ;
14
13
export const CHANGE_SPEED = "CHANGE_SPEED" ;
15
14
export const RANDOMIZE_WALLS = "RANDOMIZE_WALLS" ;
16
15
export const UPDATE_GRID_SIZE = "UPDATE_GRID_SIZE" ;
@@ -112,15 +111,6 @@ export const handleClearGrid = (
112
111
} ;
113
112
} ;
114
113
115
- export const saveMaze = ( maze : MazeInfo ) => {
116
- console . log ( "This is not hooked up to a reducer" ) ;
117
- console . log ( JSON . stringify ( maze ) ) ;
118
- return {
119
- type : SAVE_MAZE ,
120
- payload : JSON . stringify ( maze ) ,
121
- } ;
122
- } ;
123
-
124
114
export const loadMaze = ( mazeInfo : MazeInfo ) : AnyAction => {
125
115
return {
126
116
type : LOAD_MAZE ,
Original file line number Diff line number Diff line change
1
+ export enum Algorithms {
2
+ astar = "A*" ,
3
+ djikstras = "Djikstras" ,
4
+ bfs = "BFS" ,
5
+ dfs = "DFS" ,
6
+ }
Original file line number Diff line number Diff line change 25
25
width : calc (100% - 20px );
26
26
}
27
27
}
28
+
29
+ .save-modal {
30
+ width : 70% ;
31
+
32
+ .save-modal-content {
33
+ height : 70vh ;
34
+ overflow-y : overlay ;
35
+ padding-right : 15px ;
36
+ }
37
+ }
You can’t perform that action at this time.
0 commit comments