Class: Contest::EffectTagMechanic::JammingEffectBase

Inherits:
EffectTagMechanic
  • Object
show all
Defined in:
docs/6_Contest_05_Move.rb

Overview

Base class for effect tag mechanics jamming other contestants

Direct Known Subclasses

JamAll, JamHighestScore, JamPrevious, JamSameCondition

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#jamming_successful ⇒ Boolean (readonly)

Whether the jamming was successful

Returns:

  • (Boolean)


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?

Returns:

  • (Boolean)


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?

Returns:

  • (Boolean)


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?

Returns:

  • (Boolean)


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 show_message_after
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 show_message_before
end