mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-06-28 04:04:42 +02:00
ICardWithOutSuit interface
This commit is contained in:
@ -0,0 +1,21 @@
|
||||
package inf112.fiasko.roborally.element_properties;
|
||||
|
||||
/**
|
||||
* This Interface describes a card
|
||||
* @param <S> the type for the card value
|
||||
* @param <T> the type for the symbol
|
||||
*/
|
||||
public interface ICardWithOutSuit<S,T> {
|
||||
/**
|
||||
* Gets the value of the card
|
||||
* @return card value
|
||||
*/
|
||||
S getValue();
|
||||
|
||||
/**
|
||||
* Gets the symbol of the card
|
||||
* @return card symbol
|
||||
*/
|
||||
T getSymbol();
|
||||
|
||||
}
|
Reference in New Issue
Block a user