Exemple #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;
        }
Exemple #2
0
 public void OnAddSubjectiveViews(SubDatasetSubjectiveStackedGroup group, KeyValuePair<SubDataset, SubDataset> subjViews)
 {
     lock(this)
         m_shouldAddConnections = true;
 }
Exemple #3
0
 public void OnSetMerge(SubDatasetSubjectiveStackedGroup group, bool merge)
 {}
Exemple #4
0
 public void OnSetStackMethod(SubDatasetSubjectiveStackedGroup group, StackMethod method)
 {}
Exemple #5
0
 public void OnSetGap(SubDatasetSubjectiveStackedGroup group, float gap)
 {}