Esempio n. 1
0
        public static bool Remove(QuadTreeEntity e, Vector2Int coord)
        {
            if (!_instance)
            {
                return(false);
            }

            return(_instance._quadTree.Remove(e, coord));
        }
Esempio n. 2
0
        public static void Translate(QuadTreeEntity e, Vector2Int from, Vector2Int to)
        {
            if (!_instance)
            {
                return;
            }

            _instance._quadTree.Translate(e, from, to);
        }
Esempio n. 3
0
        public static void Add(QuadTreeEntity e, Vector2Int coord)
        {
            if (!_instance)
            {
                return;
            }

            _instance._quadTree.Add(e, coord);
        }