Class: EhbGameLib::Math::RectableObject::Axis

Inherits:
Object
  • Object
show all
Defined in:
lib/ehb_game_lib/math/rectable_object/axis.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#anchorObject

Returns the value of attribute anchor.



9
10
11
# File 'lib/ehb_game_lib/math/rectable_object/axis.rb', line 9

def anchor
  @anchor
end

Instance Method Details

#coordObject



13
14
15
# File 'lib/ehb_game_lib/math/rectable_object/axis.rb', line 13

def coord
  coord_get.call
end

#coord=(v) ⇒ Object



17
18
19
# File 'lib/ehb_game_lib/math/rectable_object/axis.rb', line 17

def coord=(v)
  coord_set.call(v)
end

#sizeObject



21
22
23
# File 'lib/ehb_game_lib/math/rectable_object/axis.rb', line 21

def size
  size_get.call
end