public ItemTypes() { Rock = new StandardItemType( 1, name: "Rock", mass: 2.50f, volume: 1f, icon: LoadImage("Items\\Rock.png")); IronOre = new StandardItemType( 2, name: "Iron Ore", mass: 7.874f, volume: 1f, icon: LoadImage("Items\\IronOre.png")); Coal = new StandardItemType( 3, name: "Coal", mass: 2.26f, volume: 1f, icon: LoadImage("Items\\Coal.png")); Iron = new StandardItemType( 4, name: "Iron", mass: 7.874f, volume: 1f, icon: LoadImage("Items\\Iron.png")); }
public StandardItem(StandardItemType itemType) : base(itemType) { }