/// <summary> /// Creates a plugin and registers its components. This skips initialization of the KeyframeAnimationManager /// and registering to the EventLoop. Creates one single entity to test animations on /// </summary> public AnimationPluginTest() { plugin = new KeyframeAnimationPluginInitializer(); plugin.RegisterComponents(); KeyframeAnimationManager.Instance = new KeyframeAnimationManager(); Entity entity = new Entity(); createdEntityGuid = entity.Guid.ToString(); entityGuidAsGuid = entity.Guid; World.Instance.Add(entity); }
/// <summary> /// Creates a plugin and registers its components. This skips initialization of the KeyframeAnimationManager /// and registering to the EventLoop. Creates one single entity to test animations on /// </summary> public AnimationPluginTest() { plugin = new KeyframeAnimationPluginInitializer(); plugin.RegisterComponents(); Entity entity = new Entity(); createdEntityGuid = entity.Guid.ToString(); entityGuidAsGuid = entity.Guid; World.Instance.Add(entity); }
internal void Initialize(KeyframeAnimationPluginInitializer plugin) { this.animationPlugin = plugin; Initialize(); }