From 6264fc7462b61926e4b9fffbb0aba977405c2142 Mon Sep 17 00:00:00 2001 From: EpicKnarvik97 Date: Tue, 25 Feb 2020 08:02:06 +0100 Subject: [PATCH] =?UTF-8?q?Fjerner=20un=C3=B8dvendige=20metoder=20fra=20IC?= =?UTF-8?q?ardWithoutSuit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fjerner setValue og setSymbol siden et kort ikke skal kunne endres --- .../roborally/objects/ICardWithoutSuit.java | 23 ++++--------------- 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/src/main/java/inf112/fiasko/roborally/objects/ICardWithoutSuit.java b/src/main/java/inf112/fiasko/roborally/objects/ICardWithoutSuit.java index 4ec4718..b146361 100644 --- a/src/main/java/inf112/fiasko/roborally/objects/ICardWithoutSuit.java +++ b/src/main/java/inf112/fiasko/roborally/objects/ICardWithoutSuit.java @@ -1,33 +1,20 @@ package inf112.fiasko.roborally.objects; /** - * This Interface describes a card - * @param the type for the card value - * @param the type for the symbol + * This Interface describes a card without a card suit + * @param The value type + * @param The symbol type */ public interface ICardWithoutSuit { /** * Gets the value of the card - * @return card value + * @return The card value */ S getValue(); /** * Gets the symbol of the card - * @return card symbol + * @return The card symbol */ 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); - }