Esempio n. 1
0
        internal static void GetAdjacentTiles(List <PartitionTile> tileList, Vector2 position, bool includeLargeObjects = true)
        {
            SpatialPartition p = FetchPartition(position);

            p?.GetAdjacentTiles(tileList, position - p.Position);
            if (includeLargeObjects)
            {
                tileList.Add(largeObjectTile);
            }
        }