Last active
December 26, 2015 00:18
-
-
Save st4rdog/18c18cb50131b0b49416 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
public class ThrowingDagger : Weapon, IThrowable { | |
// Overrides the default Attack() from the Weapon class | |
public override void Attack() | |
{ | |
Throw(); | |
} | |
// IThrowable | |
public void Throw() | |
{ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment