Last active
April 17, 2020 03:26
-
-
Save smkplus/3a17a3f234d629140e18fffb9e642519 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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