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.
Files changed (2) hide show
  1. data/lib/cellular_map/cell.rb +1 -1
  2. metadata +1 -1
@@ -34,7 +34,7 @@ module CellularMap
34
34
 
35
35
  # Selecting a related cell through a vector movement.
36
36
  def +(vector)
37
- Cell.new(@x + vector.first, @y + vector.last, @map)
37
+ @map[@x + vector.first, @y + vector.last]
38
38
  end
39
39
 
40
40
  # Selecting a related cell through a vector movement.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cellular_map
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michel Belleville