Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
SpawnConditionDecorativeOverlayInfoElement.cs
Go to the documentation of this file.
4using Terraria.UI;
5
7
9{
10 private string _overlayImagePath;
11
13
14 public float DisplayPriority { get; set; }
15
16 public SpawnConditionDecorativeOverlayInfoElement(string overlayImagePath = null, Color? overlayColor = null)
17 {
18 _overlayImagePath = overlayImagePath;
19 _overlayColor = overlayColor;
20 }
21
23 {
24 if (_overlayImagePath == null)
25 {
26 return null;
27 }
29 }
30
32 {
33 return _overlayColor;
34 }
35
37 {
38 return null;
39 }
40}
SpawnConditionDecorativeOverlayInfoElement(string overlayImagePath=null, Color? overlayColor=null)
static IAssetRepository Assets
Definition Main.cs:209