tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.Gore Class Reference

Public Member Functions

Color GetAlpha (Color newColor)
 
void Update ()
 

Static Public Member Functions

static int NewGore (IEntitySource source, Vector2 Position, Vector2 Velocity, int Type, float Scale=1f)
 
static Gore NewGoreDirect (IEntitySource source, Vector2 Position, Vector2 Velocity, int Type, float Scale=1f)
 
static Gore NewGorePerfect (IEntitySource source, Vector2 Position, Vector2 Velocity, int Type, float Scale=1f)
 

Public Attributes

bool active
 
int alpha
 
bool behindTiles
 
Vector2 drawOffset
 
SpriteFrame Frame = new SpriteFrame(1, 1)
 
byte frameCounter
 
float light
 
Vector2 position
 
float rotation
 
float scale
 
bool sticky = true
 
int timeLeft = goreTime
 
int type
 
Vector2 velocity
 

Static Public Attributes

static int goreTime = 600
 

Properties

Rectangle AABBRectangle [get]
 
byte frame [get, set]
 
float Height [get]
 
ModGore ModGore [get]
 
byte numFrames [get, set]
 
float Width [get]