function StateHolder.transition(T,i,l)if not l and not T:canTransition(i)then Logger.warn("\067\097\110\110\111\116 \116\114\097\110\115\105\116\105\111\110 \115\116\097\116\101 \102\114\111\109",T.current,"-\062",i)return end T:_callTransitionCallbacks(T.current,i)T.current=i end

function StateHolder:transition(stateName, shouldForce)
	if not shouldForce and not self:canTransition(stateName) then
		Logger.warn("Cannot transition state from", self.current, "->", stateName)
		return
	end

	self:_callTransitionCallbacks(self.current, stateName)

	self.current = stateName
end
