edit mode fixes
This commit is contained in:
@@ -12,10 +12,15 @@
|
||||
// x
|
||||
// . .
|
||||
|
||||
//allSelf ...
|
||||
// ...
|
||||
// ...
|
||||
|
||||
const Neighbors = {
|
||||
all: [[0, 1],[0, -1],[1, 0],[-1, 0],[-1, -1],[1, 1],[-1, 1],[1, -1]],
|
||||
adjacent: [[0, 1],[0, -1],[1, 0],[-1, 0]],
|
||||
corners: [[-1, -1],[1, 1],[-1, 1],[1, -1]]
|
||||
corners: [[-1, -1],[1, 1],[-1, 1],[1, -1]],
|
||||
allSelf: [[0, 0],[0, 1],[0, -1],[1, 0],[-1, 0],[-1, -1],[1, 1],[-1, 1],[1, -1]]
|
||||
}
|
||||
|
||||
module.exports = Neighbors;
|
||||
Reference in New Issue
Block a user