Advertisement
Guest User

Untitled

a guest
Sep 19th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.30 KB | None | 0 0
  1. public class Weapon : ScriptableObject
  2. {
  3. }
  4.  
  5. public interface IDamageType
  6. {
  7.  void DamageNPC(NPC enemyToDamage, Weapon weapon, Player player);
  8.  void DamagePlayer(Player playerToDamage, Weapon weapon, NPC npc);
  9. }
  10.  
  11. public class SwordDamage : IDamageType
  12. {
  13. }
  14.  
  15. public class BowDamage : IDamageType
  16. {
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement