Class: Tundengine::Declarations::Base

Inherits:
Object
  • Object
show all
Includes:
Move, StringifiableByClass
Defined in:
lib/tundengine/declarations/base.rb

Direct Known Subclasses

LasCuarenta, LasVeinte, Tute, Void

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Move

#self_or_yield, #yield_self_or_lock!

Methods included from StringifiableByClass

#to_s

Constructor Details

#initializeBase

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_pointsObject (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

Returns:

  • (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

Returns:

  • (Boolean)


14
15
16
# File 'lib/tundengine/declarations/base.rb', line 14

def has_tute_effect?(tute_value)
  false
end