/// </summary>
public class EntityDesignator
{
- public Color OverwriteColor;
+ public Color Color;
public EntityDesignatonAction SpecialAction;
public AssetLocation Pattern;
public EnumEntityState? StateCheck;//Needed?
throw new NotSupportedException();
}
- public EntityDesignator(AssetLocation pattern, Color overwriteColor, EnumEntityState? state)
+ public EntityDesignator(AssetLocation pattern, Color color, EnumEntityState? state)
{
- this.Pattern = pattern;
- this.OverwriteColor = overwriteColor;
- this.StateCheck = state;
- this.Enabled = true;
+ Pattern = pattern;
+ Color = color;
+ StateCheck = state;
+ Enabled = true;
}
- public EntityDesignator(AssetLocation pattern, Color overwriteColor, EnumEntityState? state, EntityDesignatonAction specialAct)
+ public EntityDesignator(AssetLocation pattern, Color color, EnumEntityState? state, EntityDesignatonAction specialAct)
{
- this.Pattern = pattern;
- this.OverwriteColor = overwriteColor;
- this.StateCheck = state;
- this.SpecialAction = specialAct;
- this.Enabled = true;
+ Pattern = pattern;
+ Color = color;
+ StateCheck = state;
+ SpecialAction = specialAct;
+ Enabled = true;
}
public override string ToString()
- {
- return Pattern.ToShortString() + "|" + OverwriteColor.Name + "|" + StateCheck ?? "";
- }
+ => Pattern.ToShortString() + "|" + Color.Name + "|" + StateCheck ?? "";
}
}