Class: LZRTag::Hook::TeamSelector
- Defined in:
- lib/lzrtag/hooks/standard_hooks.rb
Instance Method Summary collapse
-
#initialize(handler, possibleTeams: [1, 2, 3, 4]) ⇒ TeamSelector
constructor
A new instance of TeamSelector.
Methods inherited from Base
#consume_event, describe_option, getCBs, getOptionDescriptions, on, #on, #on_hookin, #on_hookout, #process_raw_hit
Constructor Details
#initialize(handler, possibleTeams: [1, 2, 3, 4]) ⇒ TeamSelector
34 35 36 37 38 |
# File 'lib/lzrtag/hooks/standard_hooks.rb', line 34 def initialize(handler, possibleTeams: [1, 2, 3, 4]) super(handler); @possibleTeams = possibleTeams; end |