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

Classes

class  HitTileObject
 

Public Member Functions

int AddDamage (int tileId, int damageAmount, bool updateAmount=true)
 
void Clear (int tileId)
 
void ClearThisTile (int x, int y)
 
void DrawFreshAnimations (SpriteBatch spriteBatch)
 
int HitObject (int x, int y, int hitType)
 
void Prune ()
 
void TryClearingAndPruning (int x, int y, int hitType)
 
int TryFinding (int x, int y, int hitType)
 
void UpdatePosition (int tileId, int x, int y)
 

Static Public Member Functions

static void ClearAllTilesAtThisLocation (int x, int y)
 

Public Attributes

HitTileObject[] data