MainHud/Ore.cs

Simple data struct representing an ore item in the game. Stores name, weight, heal, attack, defense and flavor text and provides a constructor to initialize those fields.

using System;
using System.Collections.Generic;

namespace Keyboard_Warriors_.Models
{
	public struct Ore
	{
		public string Name { get; set; }
		public int Weight { get; set; }
		public int Heal { get; set; }
		public int Attack { get; set; }
		public int Defense { get; set; }
		public string Flavor { get; set; }

		public Ore( string name, int weight, int heal, int attack, int defense, string flavor )
		{
			Name = name;
			Weight = weight;
			Heal = heal;
			Attack = attack;
			Defense = defense;
			Flavor = flavor;
		}
	}
}