Class: LZRTag::Hook::TeamSelector

Inherits:
Base
  • Object
show all
Defined in:
lib/lzrtag/hooks/standard_hooks.rb

Instance Method Summary collapse

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