cellular_map 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cellular_map/cell.rb +1 -1
- metadata +1 -1
data/lib/cellular_map/cell.rb
CHANGED
@@ -34,7 +34,7 @@ module CellularMap
|
|
34
34
|
|
35
35
|
# Selecting a related cell through a vector movement.
|
36
36
|
def +(vector)
|
37
|
-
|
37
|
+
@map[@x + vector.first, @y + vector.last]
|
38
38
|
end
|
39
39
|
|
40
40
|
# Selecting a related cell through a vector movement.
|