Example #1
0
 /// <summary>
 /// Creates a new element item.
 /// </summary>
 public ElementItem(Element name, string description, ElementState defaultState, ElementFamily family, Color gasColor, bool isPlaceableBar, ModLiquid liquid, float boilingPoint, float meltingPoint) : base(description, defaultState, gasColor, isPlaceableBar, liquid, boilingPoint, meltingPoint)
 {
     ElementName = name;
     displayName = ElementUtils.ElementName(name, false);
     Family      = family;
 }