tModLoader v2024.11
A mod to make and play Terraria mods
StrayMethods Class Reference

Static Public Member Functions

static bool CanSpawnSandstormFriendly (Vector2 position, int expandUp, int expandDown)
 
static bool CanSpawnSandstormHostile (Vector2 position, int expandUp, int expandDown)
 
static void CheckArenaScore (Vector2 arenaCenter, out Point xLeftEnd, out Point xRightEnd, int walkerWidthInTiles=5, int walkerHeightInTiles=10)
 
static bool CountSandHorizontally (int i, int j, bool[] fittingTypes, int requiredTotalSpread=4, int spreadInEachAxis=5)
 
static void SendWalker (Point startFloorPosition, int height, int direction, out int distanceCoveredInTiles, out Point lastIteratedFloorSpot, int maxDistance=100, bool showDebug=false)