ICardWithOutSuit interface

This commit is contained in:
Tobydrama 2020-02-22 14:53:10 +01:00
parent 18250babc5
commit 21f9b96273
2 changed files with 25 additions and 0 deletions

View File

@ -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();
}

View File

@ -3,6 +3,10 @@ package inf112.fiasko.roborally.objects;
import java.util.ArrayList;
/**
* This class represents a board
*/
public class Board {
private Grid walls;
private Grid otherObjects;