Class: Berlin::Fake::Display::Position

Inherits:
Struct
  • Object
show all
Defined in:
lib/ai/fake.rb

Instance Attribute Summary collapse

Instance Attribute Details

#xObject

Returns the value of attribute x

Returns:

  • (Object)

    the current value of x



162
163
164
# File 'lib/ai/fake.rb', line 162

def x
  @x
end

#yObject

Returns the value of attribute y

Returns:

  • (Object)

    the current value of y



162
163
164
# File 'lib/ai/fake.rb', line 162

def y
  @y
end