-- ANIMATOR


export type RawAnimationIndex = {
	id: string,
	weight: number
}

export type AnimationIndex = {
	animation: Animation,
	animationTrack: AnimationTrack,
	weight: number
}

export type AnimationList = Array<AnimationIndex>

export type AnimationTable = Map<string, AnimationList>

export type AnimatorInstanceType = AnimatorType & {
	StateFunctions: {},
	Humanoid: Humanoid,
	Character: CharacterType,
	CoreAnimations: AnimationTable,
	Tracks: Map<string, AnimationTrack>,
	CoreAnimationTrack: AnimationTrack?,
	CoreAnimation: Animation?,
	Connections: {},
	State: string,
	Speed: number,
}

export type AnimatorType = {
	Humanoid
}

export type AnimatorOptionsType = {
	priority: Enum.AnimationPriority?,
	speed: number?,
	transition: number?,
	weight: number,
}
