function BaseState.New(b,r)local y={}setmetatable(y,BaseState)y.stateFolder=b y.StateMachine=r y.handles={}y.stateTime=0 y.offStateTime=0 return y end

function BaseState.New(stateFolder,StateMachine)
	local self = {}
	setmetatable(self,BaseState)

	self.stateFolder = stateFolder
	self.StateMachine = StateMachine

	self.handles = {}
	self.stateTime = 0
	self.offStateTime = 0

	return self
end
