Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace Raiding
- {
- public class Warrior : BaseHero
- {
- public const int warriorPower = 100;
- public Warrior(string name) : base(name, warriorPower)
- {
- }
- public override string CastAbility()
- {
- return $"{nameof(Warrior)} - {Name} hit for {Power} damage";
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement