-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
36 additions
and
2 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,4 +21,5 @@ | |
|
||
|
||
|
||
|
||
</Project> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
namespace CourseApp.RpgSaga; | ||
|
||
using System; | ||
|
||
public interface IHero | ||
{ | ||
public string Name; | ||
Check failure on line 7 in CourseApp/RpgSaga/IHero.cs GitHub Actions / build (6.0.x)
|
||
|
||
public int Strength; | ||
Check failure on line 9 in CourseApp/RpgSaga/IHero.cs GitHub Actions / build (6.0.x)
|
||
|
||
public int Health; | ||
Check failure on line 11 in CourseApp/RpgSaga/IHero.cs GitHub Actions / build (6.0.x)
|
||
|
||
public Random Rand = new Random(); | ||
Check failure on line 13 in CourseApp/RpgSaga/IHero.cs GitHub Actions / build (6.0.x)
|
||
|
||
public int SetValue(); | ||
|
||
public void Atack(IHero person); | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
namespace CourseApp.RpgSaga; | ||
|
||
public class Warior : IHero | ||
{ | ||
public int SetValue() | ||
{ | ||
throw new System.NotImplementedException(); | ||
} | ||
|
||
public void Atack(IHero person) | ||
{ | ||
} | ||
|
||
|
||
} |