tModLoader v2024.03
A mod to make and play Terraria mods
WallLoader Class Reference

This serves as the central class from which wall-related functions are supported and carried out. More...

Static Public Member Functions

static void AnimateWalls ()
 
static bool CanExplode (int i, int j, int type)
 
static bool CanPlace (int i, int j, int type)
 
static bool CreateDust (int i, int j, int type, ref int dustType)
 
static bool Drop (int i, int j, int type, ref int dropType)
 
static ModWall GetWall (int type)
 Gets the ModWall instance with the given type. If no ModWall with the given type exists, returns null.
 
static bool KillSound (int i, int j, int type, bool fail)
 
static void KillWall (int i, int j, int type, ref bool fail)
 
static void ModifyLight (int i, int j, int type, ref float r, ref float g, ref float b)
 
static void NumDust (int i, int j, int type, bool fail, ref int numDust)
 
static void PlaceInWorld (int i, int j, Item item)
 
static void PostDraw (int i, int j, int type, SpriteBatch spriteBatch)
 
static bool PreDraw (int i, int j, int type, SpriteBatch spriteBatch)
 
static void RandomUpdate (int i, int j, int type)
 
static bool WallFrame (int i, int j, int type, bool randomizeFrame, ref int style, ref int frameNumber)
 

Properties

static int WallCount [get]
 

Detailed Description

This serves as the central class from which wall-related functions are supported and carried out.