lib/AdventureRL/Point.rb in adventure_rl-0.0.1.pre.ld42 vs lib/AdventureRL/Point.rb in adventure_rl-0.0.2
- old
+ new
@@ -158,9 +158,10 @@
end
private
def parse_position *args
+ args.flatten!
position = {}
args[0] = args[0].get_position if (args[0].is_a? Point)
case args.size
when 2
position[:x] = args[0]