private Image _getResourceHexImage(ResourceHexType type) { switch (type) { case ResourceHexType.Forest: return _forestTexture; } throw new Exception("ResourceHex texture not supplied."); }
public ResourceHex(ResourceHexType type, int resourceQuantity, IntVector2 hexQuoords, World world) : base(hexQuoords, world) { Type = type; amountRemaining = amountRemaining; }