teeworlds_network/lib/snapshot/events/spawn.rb

17 lines
273 B
Ruby

# frozen_string_literal: true
require_relative '../snap_item_base'
class NetEvent
class Spawn < SnapEventBase
def initialize(hash_or_raw)
@field_names = []
super
end
def self.match_type?(type)
type == NETEVENTTYPE_SPAWN
end
end
end