-- Constructs a new state. Should not be called directly.
-- @param Table or Instance
-- @param StateMachine
-- @return BaseState

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
