teeworlds_network/lib/snapshot/events/explosion.rb

17 lines
281 B
Ruby
Raw Normal View History

2022-11-19 10:24:13 +00:00
# frozen_string_literal: true
require_relative '../snap_item_base'
class NetEvent
class Explosion < SnapEventBase
def initialize(hash_or_raw)
@field_names = []
super
end
def self.match_type?(type)
type == NETEVENTTYPE_EXPLOSION
end
end
end