Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
SpawnConditionBestiaryInfoElement.cs
Go to the documentation of this file.
4
6
8{
9 private string _backgroundImagePath;
10
12
13 public float OrderPriority { get; set; }
14
15 public SpawnConditionBestiaryInfoElement(string nameLanguageKey, int filterIconFrame, string backgroundImagePath = null, Color? backgroundColor = null)
16 : base(nameLanguageKey, filterIconFrame)
17 {
18 _backgroundImagePath = backgroundImagePath;
19 _backgroundColor = backgroundColor;
20 }
21
23 {
24 if (_backgroundImagePath == null)
25 {
26 return null;
27 }
29 }
30
32 {
33 return _backgroundColor;
34 }
35}
SpawnConditionBestiaryInfoElement(string nameLanguageKey, int filterIconFrame, string backgroundImagePath=null, Color? backgroundColor=null)
static IAssetRepository Assets
Definition Main.cs:209