Beispiel #1
0
        public void checkExternalCollisionsY(YTable list)
        {
            checkPartition();
            list.checkPartition();

            foreach (KeyValuePair <float, YPartition> entry in dictionary)
            {
                if (list.dictionary.ContainsKey(entry.Key))
                {
                    YPartition otherPartition = list.dictionary[entry.Key];
                    entry.Value.checkExternalCollisions(otherPartition);
                }
            }
        }
Beispiel #2
0
        public void checkExternalCollisionsY(YTable list)
        {
            checkPartition();
            list.checkPartition();

            foreach (KeyValuePair<float, YPartition> entry in dictionary)
            {
                if (list.dictionary.ContainsKey(entry.Key))
                {
                    YPartition otherPartition = list.dictionary[entry.Key];
                    entry.Value.checkExternalCollisions(otherPartition);
                }
            }
        }