Advertisement
Guest User

Untitled

a guest
Nov 17th, 2021
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4.  
  5. namespace Raiding
  6. {
  7. public abstract class BaseHero
  8. {
  9. protected BaseHero(string name, int power)
  10. {
  11. Name = name;
  12. Power = power;
  13. }
  14.  
  15. public string Name { get; private set; }
  16. public int Power { get; private set; }
  17.  
  18. public abstract string CastAbility();
  19. }
  20. }
  21.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement