Class: Muby::Trigger::Shot

Inherits:
Object
  • Object
show all
Defined in:
lib/muby/trigger.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#inwinObject

Returns the value of attribute inwin.



7
8
9
# File 'lib/muby/trigger.rb', line 7

def inwin
  @inwin
end

#matchObject

Returns the value of attribute match.



7
8
9
# File 'lib/muby/trigger.rb', line 7

def match
  @match
end

#outwinObject

Returns the value of attribute outwin.



7
8
9
# File 'lib/muby/trigger.rb', line 7

def outwin
  @outwin
end

#triggerObject

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