Exemple #1
0
        public void SetUpTest()
        {
            ComponentRegistry.Instance = new ComponentRegistry();
            var p = new AvatarCollisionPluginInitializer();

            ServiceBus.Instance = new ServiceBusImplementation();
            ServiceBus.Instance.Initialize();

            ServiceBus.ServiceRegistry.RegisterService("collision", p.Transform);
            ServiceBus.Instance.IntroduceTopic("location.position", "collision");
            p.RegisterComponents();
            p.RegisterToEvents();
            registerLocationComponent();
            registerAvatarComponent();
        }
        public void SetUpTest()
        {
            ComponentRegistry.Instance = new ComponentRegistry();
            var p = new AvatarCollisionPluginInitializer();

            ServiceBus.Instance = new ServiceBusImplementation();
            ServiceBus.Instance.Initialize();

            ServiceBus.ServiceRegistry.RegisterService("collision", p.Transform);
            ServiceBus.Instance.IntroduceTopic("location.position", "collision");
            p.RegisterComponents();
            p.RegisterToEvents();
            registerLocationComponent();
            registerAvatarComponent();
        }