Definition at line 46731 of file Player.cs.
46732 {
46739 float num = float.PositiveInfinity;
46740 for (
int i = 0;
i <
samples.Length;
i++)
46741 {
46743 {
46745 }
46746 }
46750 value.Inflate(6, 16);
46752 value2.Inflate(-40, -40);
46757 {
46759 {
46761 {
46762 continue;
46763 }
46766 {
46768 {
46770 }
46771 else
46772 {
46774 }
46775 }
46776 }
46777 }
46779 {
46780 list.
Add((
base.Center.ToTileCoordinates().ToVector2() + Main.rand.NextVector2Square(-2f, 2f)).ToPoint());
46781 }
46784 {
46786 }
46789 }
void Add(TKey key, TValue value)
bool FindSharpTearsOpening(int x, int y, bool acceptLeft, bool acceptRight, bool acceptUp, bool acceptDown)
static Rectangle Intersect(Rectangle value1, Rectangle value2)
static float Distance(Vector2 value1, Vector2 value2)
References System.Collections.Generic.Dictionary< TKey, TValue >.Add(), Terraria.Collision.AimingLaserScan(), System.Collections.Generic.Dictionary< TKey, TValue >.Count, Microsoft.Xna.Framework.Vector2.Distance(), System.index, Microsoft.Xna.Framework.Rectangle.Intersect(), System.list, Terraria.Main.maxTilesX, Terraria.Main.maxTilesY, Terraria.Main.rand, Terraria.WorldGen.SolidTile2(), System.value, Microsoft.Xna.Framework.Point.X, Microsoft.Xna.Framework.Point.Y, and Microsoft.Xna.Framework.Vector2.Zero.