function BaseState.New(G,t)local q={}setmetatable(q,BaseState)q.stateFolder=G q.StateMachine=t q.handles={}q.stateTime=0 q.offStateTime=0 return q end
-- 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
