Commit 0ddaea71 authored by Mamadou Saliou DIALLO's avatar Mamadou Saliou DIALLO

fix: fix survival cards methods implementation

parent 4155f84f
package fr.univnantes.alma.model.card.player.survival;
import fr.univnantes.alma.model.card.BasicCard;
import fr.univnantes.alma.references.interfaces.ManyToOneAssociation;
/**
* Basic survival card.
......@@ -44,4 +45,20 @@ public abstract class BasicSurvivalCard extends BasicCard
public String getPhase() {
return phase;
}
/**
* {@inheritdoc}
*/
@Override
public ManyToOneAssociation getHandOwner() {
return null;
}
/**
* {@inheritdoc}
*/
@Override
public ManyToOneAssociation getDiscardOwner() {
return null;
}
}
......@@ -24,4 +24,4 @@ public class DodgeCard extends BasicSurvivalCard {
public void applyEffect(BoardGame boardGame) {
}
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment