Exemple #1
0
        public LoginModel()
            : base()
        {
            UltimaServices.Register <LoginModel>(this);

            Client = new LoginClient();
        }
        public WorldModel()
            : base()
        {
            UltimaServices.Register <WorldModel>(this);

            m_Engine        = UltimaServices.GetService <UltimaEngine>();
            m_Network       = UltimaServices.GetService <INetworkClient>();
            m_UserInterface = UltimaServices.GetService <UserInterfaceService>();

            Entities = new EntityManager(this);
            EntityManager.Reset(true);

            Effects     = new EffectsManager(this);
            Input       = new WorldInput(this);
            Interaction = new WorldInteraction(this);
            Client      = new WorldClient(this);
        }