Improved readability of variables

Hopefully improved semantics of variables

Fixed typos

Added hyphenations
This commit is contained in:
thatsIch
2014-09-28 11:47:17 +02:00
parent 6b60a0996b
commit 76b147fd5b
220 changed files with 1643 additions and 1662 deletions
@@ -25,17 +25,17 @@ public class PathSegment
PathGridCache pgc;
public PathSegment(PathGridCache myPGC, List open, Set semiopen, Set closed)
public PathSegment(PathGridCache myPGC, List open, Set semiOpen, Set closed)
{
this.open = open;
this.semiopen = semiopen;
this.semiOpen = semiOpen;
this.closed = closed;
pgc = myPGC;
isDead = false;
}
List<IPathItem> open;
Set<IPathItem> semiopen;
Set<IPathItem> semiOpen;
Set<IPathItem> closed;
public boolean step()
@@ -56,7 +56,7 @@ public class PathSegment
if ( flags.contains( GridFlags.REQUIRE_CHANNEL ) )
{
// close the semi open.
if ( !semiopen.contains( pi ) )
if ( !semiOpen.contains( pi ) )
{
boolean worked = false;
@@ -72,14 +72,14 @@ public class PathSegment
{
IGridNode otherNodes = oni.next();
if ( otherNodes != pi )
semiopen.add( (IPathItem) otherNodes );
semiOpen.add( (IPathItem) otherNodes );
}
}
}
else
{
pi.incrementChannelCount( 1 ); // give a channel.
semiopen.remove( pi );
semiOpen.remove( pi );
}
}