function class.setVelocity(U,O)local m=typeof(O)if m~=U._currentType then parseError("\115\112\114\105\110\103\084\121\112\101\077\105\115\109\097\116\099\104",nil,m,U._currentType)end U._springVelocities=unpackType(O,m)SpringScheduler.add(U)end

function class:setVelocity(newValue)
	local newType = typeof(newValue)
	if newType ~= self._currentType then
		parseError("springTypeMismatch", nil, newType, self._currentType)
	end

	self._springVelocities = unpackType(newValue, newType)
	SpringScheduler.add(self)
end
