C# Class Terraria.CombatText

ファイルを表示 Open project: EmuDevs/EDTerraria Class Usage Examples

Public Properties

Property Type Description
DamagedFriendly Color
DamagedFriendlyCrit Color
DamagedHostile Color
DamagedHostileCrit Color
HealLife Color
HealMana Color
LifeRegen Color
LifeRegenNegative Color
OthersDamagedHostile Color
OthersDamagedHostileCrit Color
active bool
alpha float
alphaDir int
color Color
crit bool
dot bool
lifeTime int
position Vector2
rotation float
scale float
text string
velocity Vector2

Public Methods

Method Description
NewText ( Rectangle location, Color color, string text, bool dramatic = false, bool dot = false ) : int
Update ( ) : void
UpdateCombatText ( ) : void
clearAll ( ) : void

Method Details

NewText() public static method

public static NewText ( Rectangle location, Color color, string text, bool dramatic = false, bool dot = false ) : int
location Microsoft.Xna.Framework.Rectangle
color Color
text string
dramatic bool
dot bool
return int

Update() public method

public Update ( ) : void
return void

UpdateCombatText() public static method

public static UpdateCombatText ( ) : void
return void

clearAll() public static method

public static clearAll ( ) : void
return void

Property Details

DamagedFriendly public_oe static_oe property

public static Color DamagedFriendly
return Color

DamagedFriendlyCrit public_oe static_oe property

public static Color DamagedFriendlyCrit
return Color

DamagedHostile public_oe static_oe property

public static Color DamagedHostile
return Color

DamagedHostileCrit public_oe static_oe property

public static Color DamagedHostileCrit
return Color

HealLife public_oe static_oe property

public static Color HealLife
return Color

HealMana public_oe static_oe property

public static Color HealMana
return Color

LifeRegen public_oe static_oe property

public static Color LifeRegen
return Color

LifeRegenNegative public_oe static_oe property

public static Color LifeRegenNegative
return Color

OthersDamagedHostile public_oe static_oe property

public static Color OthersDamagedHostile
return Color

OthersDamagedHostileCrit public_oe static_oe property

public static Color OthersDamagedHostileCrit
return Color

active public_oe property

public bool active
return bool

alpha public_oe property

public float alpha
return float

alphaDir public_oe property

public int alphaDir
return int

color public_oe property

public Color color
return Color

crit public_oe property

public bool crit
return bool

dot public_oe property

public bool dot
return bool

lifeTime public_oe property

public int lifeTime
return int

position public_oe property

public Vector2 position
return Vector2

rotation public_oe property

public float rotation
return float

scale public_oe property

public float scale
return float

text public_oe property

public string text
return string

velocity public_oe property

public Vector2 velocity
return Vector2