Method: MapNode#initialize
- Defined in:
- lib/IFMapper/AStar.rb
#initialize(x, y) ⇒ MapNode
Returns a new instance of MapNode.
183 184 185 186 |
# File 'lib/IFMapper/AStar.rb', line 183 def initialize(x, y) @x = x @y = y end |
Returns a new instance of MapNode.
183 184 185 186 |
# File 'lib/IFMapper/AStar.rb', line 183 def initialize(x, y) @x = x @y = y end |