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

Public Member Functions

void Update ()
 

Static Public Member Functions

static int NewText (Rectangle location, Color color, int amount, bool dramatic=false, bool dot=false)
 
static int NewText (Rectangle location, Color color, string text, bool dramatic=false, bool dot=false)
 
static void clearAll ()
 
static void UpdateCombatText ()
 

Public Attributes

Vector2 position
 
Vector2 velocity
 
float alpha
 
int alphaDir = 1
 
string text = ""
 
float scale = 1f
 
float rotation
 
Color color
 
bool active
 
int lifeTime
 
bool crit
 
bool dot
 

Static Public Attributes

static readonly Color DamagedFriendly = new Color(255, 80, 90, 255)
 
static readonly Color DamagedFriendlyCrit = new Color(255, 100, 30, 255)
 
static readonly Color DamagedHostile = new Color(255, 160, 80, 255)
 
static readonly Color DamagedHostileCrit = new Color(255, 100, 30, 255)
 
static readonly Color OthersDamagedHostile = DamagedHostile * 0.4f
 
static readonly Color OthersDamagedHostileCrit = DamagedHostileCrit * 0.4f
 
static readonly Color HealLife = new Color(100, 255, 100, 255)
 
static readonly Color HealMana = new Color(100, 100, 255, 255)
 
static readonly Color LifeRegen = new Color(255, 60, 70, 255)
 
static readonly Color LifeRegenNegative = new Color(255, 140, 40, 255)
 

Properties

static float TargetScale [get]
 

Detailed Description

Definition at line 6 of file CombatText.cs.


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