function BaseState._Tick(n,D,K)n.stateTime=n.stateTime+K n:Tick(D,K,n.stateTime)end

function BaseState:_Tick(currentTime,dt)
	self.stateTime = self.stateTime + dt
	self:Tick(currentTime,dt,self.stateTime)
end
