I keep getting an error at the begiing where it says Item : IUsable I am not sure how to fix this, does anyone have any suggestions? I think this issue may be causing more errors later on in my code. The error message is: 'Item' does not implement interface member 'IUsable.Use(Character)'
{
abstract class Item : IUsable
{
public string strEffect;
public int intEffect = 20;
public string description;
public Item ()
{
strEffect = "poison";
intEffect = -10;
description = "The character will continuously lose 10 health until healed.";
}
public string StrEffect
{
get { retu strEffect; }
set { strEffect = value; }
}
public int IntEffect
{
get { retu intEffect; }
set { intEffect = value; }
}
public string Description
{
get { retu description; }
set { description = value; }
}
abstract public void Use();
}
}
