Skip to content

Instantly share code, notes, and snippets.

@smkplus
Last active April 17, 2020 03:26
Show Gist options
  • Save smkplus/3a17a3f234d629140e18fffb9e642519 to your computer and use it in GitHub Desktop.
Save smkplus/3a17a3f234d629140e18fffb9e642519 to your computer and use it in GitHub Desktop.
interface ICanHex
{
void Hex();
}
interface ICanHeal
{
void Heal();
}
interface ICanDisappear
{
void Disappear();
}
interface IHaveFire
{
void Fire();
}
interface IHaveIce
{
void Ice();
}
interface IHavePoison
{
void Poison();
}
public class Witch : ICanHex,ICanHeal,ICanDisappear,IHaveFire,IHaveIce,IHavePoison
{
public void Hex(){}
public void Heal(){}
public void Disappear(){}
public void Fire(){}
public void Ice(){}
public void Poison(){}
}
public class Priest : ICanHeal, IHaveFire
{
public void Heal(){}
public void Fire(){}
}
public class FrostMage : IHaveIce
{
public void Ice(){}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment