Class: Contest::EffectTagMechanic::JammingEffectBase
- Inherits:
-
EffectTagMechanic
- Object
- EffectTagMechanic
- Contest::EffectTagMechanic::JammingEffectBase
- Defined in:
- docs/6_Contest_05_Move.rb
Overview
Base class for effect tag mechanics jamming other contestants
Direct Known Subclasses
Instance Attribute Summary collapse
-
#jamming_successful ⇒ Boolean
readonly
Whether the jamming was successful.
Instance Method Summary collapse
-
#affects_previous_contestants? ⇒ Boolean
Does this effect tag affect the previous contestants?.
-
#apply_jamming
Method called to apply the jamming linked to this effect tag.
-
#better_late_round? ⇒ Boolean
Is this effect tag better used late in a round?.
-
#inflicts_jam? ⇒ Boolean
Does this effect tag inflict jam?.
-
#show_message_after
Show the message linked to this effect tag after applying it.
-
#show_message_before
Show the message linked to this effect tag before applying it.
Instance Attribute Details
#jamming_successful ⇒ Boolean (readonly)
Whether the jamming was successful
257 258 259 |
# File 'docs/6_Contest_05_Move.rb', line 257 def jamming_successful @jamming_successful end |
Instance Method Details
#affects_previous_contestants? ⇒ Boolean
Does this effect tag affect the previous contestants?
277 278 |
# File 'docs/6_Contest_05_Move.rb', line 277 def affects_previous_contestants? end |
#apply_jamming
Method called to apply the jamming linked to this effect tag
259 260 |
# File 'docs/6_Contest_05_Move.rb', line 259 def apply_jamming end |
#better_late_round? ⇒ Boolean
Is this effect tag better used late in a round?
269 270 |
# File 'docs/6_Contest_05_Move.rb', line 269 def better_late_round? end |
#inflicts_jam? ⇒ Boolean
Does this effect tag inflict jam?
273 274 |
# File 'docs/6_Contest_05_Move.rb', line 273 def inflicts_jam? end |
#show_message_after
Show the message linked to this effect tag after applying it
265 266 |
# File 'docs/6_Contest_05_Move.rb', line 265 def end |
#show_message_before
Show the message linked to this effect tag before applying it
262 263 |
# File 'docs/6_Contest_05_Move.rb', line 262 def end |