Class: Grueserve::Soldier::Aim
- Inherits:
-
Object
- Object
- Grueserve::Soldier::Aim
- Defined in:
- lib/grueserve/soldier.rb
Instance Attribute Summary collapse
-
#point ⇒ Object
Returns the value of attribute point.
-
#precision ⇒ Object
Returns the value of attribute precision.
Instance Method Summary collapse
-
#initialize(point, precision) ⇒ Aim
constructor
A new instance of Aim.
Constructor Details
#initialize(point, precision) ⇒ Aim
Returns a new instance of Aim.
24 25 26 27 |
# File 'lib/grueserve/soldier.rb', line 24 def initialize(point, precision) @point = point @precision = precision end |
Instance Attribute Details
#point ⇒ Object
Returns the value of attribute point.
23 24 25 |
# File 'lib/grueserve/soldier.rb', line 23 def point @point end |
#precision ⇒ Object
Returns the value of attribute precision.
23 24 25 |
# File 'lib/grueserve/soldier.rb', line 23 def precision @precision end |