Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
SpawnConditionBestiaryOverlayInfoElement.cs
Go to the documentation of this file.
4
6
8{
9 private string _overlayImagePath;
10
12
13 public float DisplayPriority { get; set; }
14
15 public float OrderPriority { get; set; }
16
17 public SpawnConditionBestiaryOverlayInfoElement(string nameLanguageKey, int filterIconFrame, string overlayImagePath = null, Color? overlayColor = null)
18 : base(nameLanguageKey, filterIconFrame)
19 {
20 _overlayImagePath = overlayImagePath;
21 _overlayColor = overlayColor;
22 }
23
25 {
26 if (_overlayImagePath == null)
27 {
28 return null;
29 }
31 }
32
34 {
35 return _overlayColor;
36 }
37}
SpawnConditionBestiaryOverlayInfoElement(string nameLanguageKey, int filterIconFrame, string overlayImagePath=null, Color? overlayColor=null)
static IAssetRepository Assets
Definition Main.cs:209