Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.Gore Class Reference

Public Member Functions

void Update ()
 
Color GetAlpha (Color newColor)
 

Static Public Member Functions

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

Public Attributes

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

Static Public Attributes

static int goreTime = 600
 

Properties

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

Private Member Functions

void UpdateAmbientFloorCloud ()
 
void UpdateAmbientAirborneCloud ()
 
void UpdateFogMachineCloud ()
 
void UpdateLightningBunnySparks ()
 
float ChumFloatingChunk_GetWaterLine (int X, int Y)
 
bool DeactivateIfOutsideOfWorld ()
 
void Gore_UpdateLeaf ()
 
void Gore_UpdateSail ()
 

Detailed Description

Definition at line 13 of file Gore.cs.


The documentation for this class was generated from the following file: