mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-01-31 23:29:36 +01:00
added new methods to ICardWithOutSuit interface
This commit is contained in:
parent
42eca0fb3d
commit
2f2d874ea7
@ -18,4 +18,16 @@ public interface ICardWithOutSuit<S,T> {
|
|||||||
*/
|
*/
|
||||||
T getSymbol();
|
T getSymbol();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the value of the card
|
||||||
|
* @param value card value
|
||||||
|
*/
|
||||||
|
void setValue(S value);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the symbol of the card
|
||||||
|
* @param symbol card symbol
|
||||||
|
*/
|
||||||
|
void setSymbol(T symbol);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user