Example #1
0
 private bool IsBlocked()
 => !ParentMap.CellIsInBounds(GetCell()) ||
 (GetCell() != StartCell && ParentMap.GetBlockingVector(Position).Skip(2).Take(3).Any(b => b != 0));