added a getter for the BonusCrad in PowerCard

This commit is contained in:
Hanno Fleischer
2024-12-05 23:07:22 +01:00
parent 6894802c00
commit 6c74acc334

View File

@@ -42,6 +42,15 @@ public UUID getUuid() {
return this.uuid;
}
/**
* This method will be used to return card attribute of abstract PowerCard class.
*
* @return card as a BonusCard enumeration.
*/
public BonusCard getCard() {
return this.card;
}
/**
* This method will be used to create the hash code of this abstract PowerCard class.
*