Skip to content

Instantly share code, notes, and snippets.

@st4rdog
Created December 26, 2015 00:29
Show Gist options
  • Save st4rdog/b9b234078693273a98ae to your computer and use it in GitHub Desktop.
Save st4rdog/b9b234078693273a98ae to your computer and use it in GitHub Desktop.
public interface IWeapon
{
void Attack();
}
public interface IDamageDealer
{
void DealDamage(IDamageable damageable, int amount);
}
public interface IDamageable
{
void TakeDamage(int amount);
}
public interface IEquippable
{
void Equip();
void Unequip();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment