Class: Contest::Effects::PreventJamOneTurn
- Inherits:
-
EffectBase
- Object
- EffectBase
- Contest::Effects::PreventJamOneTurn
- Defined in:
- docs/6_Contest_06_Effects.rb
Overview
Class describing an effect that prevent getting jammed for an entire turn
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from EffectBase
Instance Method Summary collapse
-
#initialize(logic, contestant) ⇒ PreventJamOneTurn
constructor
Create a new effect.
-
#jam_modifier(skill) ⇒ Integer
Function modifying the amount of jam received.
-
#name ⇒ Symbol
Function giving the name of the effect.
Methods inherited from EffectBase
#appeal_modifier, #dead?, #kill, #on_delete, #on_jam, #update_counter
Constructor Details
#initialize(logic, contestant) ⇒ PreventJamOneTurn
Create a new effect
146 147 |
# File 'docs/6_Contest_06_Effects.rb', line 146 def initialize(logic, contestant) end |
Instance Method Details
#jam_modifier(skill) ⇒ Integer
Function modifying the amount of jam received
151 152 |
# File 'docs/6_Contest_06_Effects.rb', line 151 def jam_modifier(skill) end |
#name ⇒ Symbol
Function giving the name of the effect
155 156 |
# File 'docs/6_Contest_06_Effects.rb', line 155 def name end |