Пример #1
0
        public WWorld(string worldName, EditorCore editorCore)
        {
            m_worldName  = worldName;
            m_editorCore = editorCore;

            m_componentList = new List <WComponent>();
            m_dtStopwatch   = new Stopwatch();
            m_input         = new Input();

            m_gizmos         = new DebugDrawing();
            m_renderSystem   = new RenderSystem(this);
            SelectedEntities = new ObservableCollection <MapEntity>();
        }
Пример #2
0
        public WWorld(string worldName, EditorCore editorCore)
        {
            m_worldName = worldName;
            m_editorCore = editorCore;

            m_componentList = new List<WComponent>();
            m_dtStopwatch = new Stopwatch();
            m_input = new Input();

            m_gizmos = new DebugDrawing();
            m_renderSystem = new RenderSystem(this);
            SelectedEntities = new ObservableCollection<MapEntity>();
        }