mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-02-08 02:59:36 +01:00
ICardWithOutSuit interface
This commit is contained in:
parent
18250babc5
commit
21f9b96273
@ -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();
|
||||||
|
|
||||||
|
}
|
@ -3,6 +3,10 @@ package inf112.fiasko.roborally.objects;
|
|||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This class represents a board
|
||||||
|
*/
|
||||||
|
|
||||||
public class Board {
|
public class Board {
|
||||||
private Grid walls;
|
private Grid walls;
|
||||||
private Grid otherObjects;
|
private Grid otherObjects;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user