Ejemplo n.º 1
0
        /// <summary>
        /// Initialize the game obejct
        /// </summary>
        /// <param name="sdg">The subdataset group to link with</param>
        public void Init(SubDatasetSubjectiveStackedGroup sdg)
        {
            m_sdg = sdg;
            m_sdg.AddListener((ISubDatasetSubjectiveStackedGroupListener)this);
            m_sdg.AddListener((ISubDatasetGroupListener)this);

            foreach (var s in sdg.SubjectiveViews)
            {
                if(s.Key != null)
                    AddStackConnection(s.Key);
                if(s.Value != null)
                    AddLinkConnection(s.Value);
            }

            m_shouldUpdatePos = true;
        }
Ejemplo n.º 2
0
 public void OnAddSubjectiveViews(SubDatasetSubjectiveStackedGroup group, KeyValuePair<SubDataset, SubDataset> subjViews)
 {
     lock(this)
         m_shouldAddConnections = true;
 }
Ejemplo n.º 3
0
 public void OnSetMerge(SubDatasetSubjectiveStackedGroup group, bool merge)
 {}
Ejemplo n.º 4
0
 public void OnSetStackMethod(SubDatasetSubjectiveStackedGroup group, StackMethod method)
 {}
Ejemplo n.º 5
0
 public void OnSetGap(SubDatasetSubjectiveStackedGroup group, float gap)
 {}