Class: RubyWarrior::Position

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby_armor/ruby_warrior_ext/position.rb

Instance Attribute Summary collapse

Instance Attribute Details

#xObject (readonly)

Returns the value of attribute x.



3
4
5
# File 'lib/ruby_armor/ruby_warrior_ext/position.rb', line 3

def x
  @x
end

#yObject (readonly)

Returns the value of attribute y.



3
4
5
# File 'lib/ruby_armor/ruby_warrior_ext/position.rb', line 3

def y
  @y
end