00001 using System;
00002 using System.Collections.Generic;
00003 using System.Text;
00004
00005 namespace DXGfxLib
00006 {
00007 public interface IAmScriptable
00008 {
00012 string Name { get;}
00013
00018 void SetScript(Script script);
00019
00024 Script GetScript();
00025
00030 void SetTimeLine(TimeLine timeLine);
00031
00036 TimeLine GetTimeLine();
00037
00048 void Evaluate(double appTime, float elapsedTime);
00049
00054 void Reset();
00055
00060 void AddEvent(Event evt);
00061
00066 void RemoveEvent(Event evt);
00067
00079 Event[] popEventsByName(string name);
00080
00092 Event[] popEventsByType(string type);
00093
00105 Event[] peekEventsByName(string name);
00106
00118 Event[] peekEventsByType(string type);
00119 }
00120 }