Class: Contest::Effects::SkipTurn
- Inherits:
-
EffectBase
- Object
- EffectBase
- Contest::Effects::SkipTurn
- Defined in:
- docs/6_Contest_06_Effects.rb
Overview
Class describing an effect that prevent a creature from using a move during a turn
Instance Attribute Summary
Attributes inherited from EffectBase
Instance Method Summary collapse
-
#initialize(logic, contestant, counter = 2) ⇒ SkipTurn
constructor
Create a new effect.
-
#name ⇒ Symbol
Function giving the name of the effect.
Methods inherited from EffectBase
#appeal_modifier, #dead?, #jam_modifier, #kill, #on_delete, #on_jam, #update_counter
Constructor Details
#initialize(logic, contestant, counter = 2) ⇒ SkipTurn
Create a new effect
241 242 |
# File 'docs/6_Contest_06_Effects.rb', line 241 def initialize(logic, contestant, counter = 2) end |
Instance Method Details
#name ⇒ Symbol
Function giving the name of the effect
245 246 |
# File 'docs/6_Contest_06_Effects.rb', line 245 def name end |