Class: Contest::Effects::NextRoundFirst

Inherits:
EffectBase show all
Defined in:
docs/6_Contest_06_Effects.rb

Overview

Class describing an effect that forces the contestant to play first in the next round

Instance Attribute Summary

Attributes inherited from EffectBase

#contestant, #counter, #logic

Instance Method Summary collapse

Methods inherited from EffectBase

#appeal_modifier, #dead?, #jam_modifier, #kill, #on_delete, #on_jam, #update_counter

Constructor Details

#initialize(logic, contestant) ⇒ NextRoundFirst

Create a new effect

Parameters:

  • logic (Contest::Logic) —

    Logic used to get all the handler in order to allow the effect to work

  • contestant (ContestCreature) —

    Contestant that has this effect



122
123
# File 'docs/6_Contest_06_Effects.rb', line 122

def initialize(logic, contestant)
end

Instance Method Details

#name ⇒ Symbol

Function giving the name of the effect

Returns:

  • (Symbol)


126
127
# File 'docs/6_Contest_06_Effects.rb', line 126

def name
end