From 0358a4e9162e1768d20e61122e768ab535417ad3 Mon Sep 17 00:00:00 2001 From: Chad Wolfe Date: Mon, 18 Sep 2023 15:47:50 -0400 Subject: [PATCH] Update README.md Made the ReadMe even easier to Read Me --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 644708d..587984e 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,8 @@ grid.MoveValueToPosition(value, 3, 9); - You can search the Grid for Values ``` c# // Gets an X, Y position Tuple for the Node with the given Value -// (given everything previously done, the Tuple Values will be x:3, y:9) and sets local x and y values to the Tuple values. +// (given everything previously done, the Tuple Values will be x:3, y:9) +// and sets local x and y values to the Tuple values. var position = grid.GetPositionOf(value); var x = position.x; var y = position.y; @@ -58,6 +59,7 @@ var predicateAdjacent = grid.GetAdjacentMathcingPredicate(x, y, predicate); var predicateRange = grid.GetRangeMatchingPredicate(x, y, range, predicate); // Finally, you can search iteratively for values based on a predicate, -// starting from the position, and continuing until the conditions of the predicate are not met for any of the relative Nodes. +// starting from the position, +// and continuing until the conditions of the predicate are not met for any of the relative Nodes. var searchdNodes = grid.SearchFromPointMatchingPredicate(x, y, predicate); ```