public static void Main(string[] args) { foreach (AnimatableType at in Enum.GetValues(typeof(AnimatableType))) { GenAnimationTypes ga = new GenAnimationTypes(at); /* output the base class types */ foreach (AnimationClassType ac in Enum.GetValues(typeof(AnimationClassType))) { ga.OutputBaseClassFile(ac); } /* output the keyframe types */ foreach (KeyFrameType kt in Enum.GetValues(typeof(KeyFrameType))) { ga.OutputKeyFrameFile(kt); } } }
public static void Main (string[] args) { foreach (AnimatableType at in Enum.GetValues(typeof (AnimatableType))) { GenAnimationTypes ga = new GenAnimationTypes(at); /* output the base class types */ foreach (AnimationClassType ac in Enum.GetValues (typeof (AnimationClassType))) ga.OutputBaseClassFile (ac); /* output the keyframe types */ foreach (KeyFrameType kt in Enum.GetValues (typeof (KeyFrameType))) ga.OutputKeyFrameFile (kt); } }