﻿using UnityEngine;
using UnityEditor;

public interface IAnimationWindowImpl
{
	int frame { get; set; }
	bool recording { get; set; }
	AnimationClip activeAnimationClip { get; }
	GameObject activeGameObject { get; }
	GameObject rootGameObject { get; }
	int refresh { get; }
	float currentTime { get; }
	bool playing { get; }

	void InitializeReflection();
	float FrameToTime(int frame);
	float TimeToFrame(float time);
	void CreateDefaultCurve(EditorCurveBinding binding);
	void AddKey(EditorCurveBinding binding, float time);
}
