Class: Tundengine::Declarations::Base
- Inherits:
-
Object
- Object
- Tundengine::Declarations::Base
- Includes:
- Move, StringifiableByClass
- Defined in:
- lib/tundengine/declarations/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#round_points ⇒ Object
readonly
Returns the value of attribute round_points.
Instance Method Summary collapse
- #finishes_round?(tute_value) ⇒ Boolean
- #has_tute_effect?(tute_value) ⇒ Boolean
-
#initialize ⇒ Base
constructor
A new instance of Base.
Methods included from Move
#self_or_yield, #yield_self_or_lock!
Methods included from StringifiableByClass
Constructor Details
#initialize ⇒ Base
Returns a new instance of Base.
10 11 12 |
# File 'lib/tundengine/declarations/base.rb', line 10 def initialize @round_points = self.class::ROUND_POINTS end |
Instance Attribute Details
#round_points ⇒ Object (readonly)
Returns the value of attribute round_points.
8 9 10 |
# File 'lib/tundengine/declarations/base.rb', line 8 def round_points @round_points end |
Instance Method Details
#finishes_round?(tute_value) ⇒ Boolean
18 19 20 |
# File 'lib/tundengine/declarations/base.rb', line 18 def finishes_round?(tute_value) false end |
#has_tute_effect?(tute_value) ⇒ Boolean
14 15 16 |
# File 'lib/tundengine/declarations/base.rb', line 14 def has_tute_effect?(tute_value) false end |