Class: Muby::Trigger::Shot
- Inherits:
-
Object
- Object
- Muby::Trigger::Shot
- Defined in:
- lib/muby/trigger.rb
Instance Attribute Summary collapse
-
#inwin ⇒ Object
Returns the value of attribute inwin.
-
#match ⇒ Object
Returns the value of attribute match.
-
#outwin ⇒ Object
Returns the value of attribute outwin.
-
#trigger ⇒ Object
Returns the value of attribute trigger.
Instance Method Summary collapse
-
#initialize(trigger, inwin, outwin, match) ⇒ Shot
constructor
A new instance of Shot.
- #remove! ⇒ Object
Constructor Details
#initialize(trigger, inwin, outwin, match) ⇒ Shot
Returns a new instance of Shot.
8 9 10 11 12 13 |
# File 'lib/muby/trigger.rb', line 8 def initialize(trigger, inwin, outwin, match) @inwin = inwin @outinw = outwin @match = match @trigger = trigger end |
Instance Attribute Details
#inwin ⇒ Object
Returns the value of attribute inwin.
7 8 9 |
# File 'lib/muby/trigger.rb', line 7 def inwin @inwin end |
#match ⇒ Object
Returns the value of attribute match.
7 8 9 |
# File 'lib/muby/trigger.rb', line 7 def match @match end |
#outwin ⇒ Object
Returns the value of attribute outwin.
7 8 9 |
# File 'lib/muby/trigger.rb', line 7 def outwin @outwin end |
#trigger ⇒ Object
Returns the value of attribute trigger.
7 8 9 |
# File 'lib/muby/trigger.rb', line 7 def trigger @trigger end |
Instance Method Details
#remove! ⇒ Object
14 15 16 |
# File 'lib/muby/trigger.rb', line 14 def remove! @trigger.remove! end |