lib/tf2_line_parser/events/round_event_without_variables.rb
# frozen_string_literal: true
module TF2LineParser
module Events
class RoundEventWithoutVariables < Event
def self.regex
@regex ||= /#{regex_time} World triggered "#{round_type}"/.freeze
end
def self.attributes
@attributes ||= [:time]
end
def initialize(time)
@time = parse_time(time)
end
end
end
end