Class: Tundengine::TuteValues::Victory

Inherits:
Base
  • Object
show all
Includes:
Singleton
Defined in:
lib/tundengine/tute_values/victory.rb

Instance Method Summary collapse

Methods inherited from Base

#has_effect?

Methods included from StringifiableByClass

#to_s

Instance Method Details

#finishes_round?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/tundengine/tute_values/victory.rb', line 7

def finishes_round?
  true
end

#points_for_loser(loser, max_points) ⇒ Object



11
12
13
# File 'lib/tundengine/tute_values/victory.rb', line 11

def points_for_loser(loser, max_points)
  max_points - loser.match_points
end