tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.ModLoader.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. More...
 
static bool KillSound (int i, int j, int type)
 
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)
 

Properties

static int WallCount [get]
 

Detailed Description

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

Member Function Documentation

◆ GetWall()

static ModWall Terraria.ModLoader.WallLoader.GetWall ( int  type)
static

Gets the ModWall instance with the given type. If no ModWall with the given type exists, returns null.