-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tarot cards keywords, empty for now
- Loading branch information
1 parent
0928726
commit 1c87f5d
Showing
8 changed files
with
337 additions
and
87 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 |
---|---|---|
@@ -1,12 +1,19 @@ | ||
namespace tarot{ | ||
public class TarotCard : ICard{ | ||
public readonly string Name; | ||
public TarotCard(string name){ | ||
public readonly string Keywords; | ||
|
||
public TarotCard(string name, string keywords){ | ||
this.Name = name; | ||
this.Keywords = keywords; | ||
} | ||
|
||
public override string ToString(){ | ||
public string GetName(){ | ||
return Name; | ||
} | ||
|
||
public string GetKeywords(){ | ||
return Keywords; | ||
} | ||
} | ||
} |
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
Oops, something went wrong.