Created
January 27, 2020 23:21
-
-
Save GarethOates/931cc45d0c70244bd39b55b7e899af46 to your computer and use it in GitHub Desktop.
This file contains 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
using System; | |
namespace MagicTheProgramming | |
{ | |
public class Shield : CreatureDecorator, ICreature | |
{ | |
public Shield(ICreature creature) : base(creature) {} | |
public override int Toughness => base.Toughness + 1; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment