Class: EhbGameLib::Math::RectableObject::Axis
- Inherits:
-
Object
- Object
- EhbGameLib::Math::RectableObject::Axis
- Defined in:
- lib/ehb_game_lib/math/rectable_object/axis.rb
Instance Attribute Summary collapse
-
#anchor ⇒ Object
Returns the value of attribute anchor.
Instance Method Summary collapse
Instance Attribute Details
#anchor ⇒ Object
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
#coord ⇒ Object
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 |
#size ⇒ Object
21 22 23 |
# File 'lib/ehb_game_lib/math/rectable_object/axis.rb', line 21 def size size_get.call end |