private void addCount(Point position, int value, int color) {
		for (int direction = 0; direction < DIRECTION.length; direction++) {
			int d = DIRECTION[direction];
			int index = getIndex(position, d);
			gridCount[d][color][index] += value;
		}
	}