Commit 276c39a3 authored by Mamadou Saliou DIALLO's avatar Mamadou Saliou DIALLO
Browse files

Merge branch 'ib' into 'master'

Implementation of survival cards

See merge request !3
parents 2c2560fb 181077c0
#Fri Dec 04 16:20:07 CET 2020
gradle.version=6.7
package fr.univnantes.alma.model.card.player.survival;
import fr.univnantes.alma.model.BoardGame;
public class AdrenalineCard extends BasicSurvivalCard {
/**
* Phase of game.
*/
private static final String PHASE = "Phase 1";
/**
* Card name.
*/
private static final String CARD_NAME = "Adrénaline";
/**
* Create new instance of adrenaline card.
*/
public AdrenalineCard() {
super(PHASE, CARD_NAME);
}
/**
* {@inheritdoc}
*/
@Override
public void applyEffect(final BoardGame boardGame) {
}
}
package fr.univnantes.alma.model.card.player.survival;
import fr.univnantes.alma.model.BoardGame;
public class AlertCard extends BasicSurvivalCard{
/**
* Phase of game.
*/
private static final String PHASE = "Phase 3";
/**
* Card name.
*/
private static final String CARD_NAME = "Alerte";
/**
* Create new instance of alert card.
*/
public AlertCard() {
super(PHASE, CARD_NAME);
}
/**
* {@inheritdoc}
*/
@Override
public void applyEffect(final BoardGame boardGame) {
}
}
package fr.univnantes.alma.model.card.player.survival;
import fr.univnantes.alma.model.BoardGame;
public class AmplifierCard extends BasicSurvivalCard {
/**
* Phase of game.
*/
private static final String PHASE = "Phase 4";
/**
* Card name.
*/
private static final String CARD_NAME = "Amplificateur";
/**
* Create new instance of amplifier card.
*/
public AmplifierCard() {
super(PHASE, CARD_NAME);
}
/**
* {@inheritdoc}
*/
@Override
public void applyEffect(final BoardGame boardGame) {
}
}
\ No newline at end of file
package fr.univnantes.alma.model.card.player.survival;
import fr.univnantes.alma.model.BoardGame;
public class DetectorCard extends BasicSurvivalCard {
/**
* Phase of game.
*/
private static final String PHASE = "Phase 3";
/**
* Card name.
*/
private static final String CARD_NAME = "Détecteur";
/**
* Create new instance of detector card.
*/
public DetectorCard() {
super(PHASE, CARD_NAME);
}
/**
* {@inheritdoc}
*/
@Override
public void applyEffect(final BoardGame boardGame) {
}
}
\ No newline at end of file
package fr.univnantes.alma.model.card.player.survival;
import fr.univnantes.alma.model.BoardGame;
public class DroneCard extends BasicSurvivalCard {
/**
* Phase of game.
*/
private static final String PHASE = "Phase 3";
/**
* Card name.
*/
private static final String CARD_NAME = "Drone";
/**
* Create new instance of drone card.
*/
public DroneCard() {
super(PHASE, CARD_NAME);
}
/**
* {@inheritdoc}
*/
@Override
public void applyEffect(final BoardGame boardGame) {
}
}
package fr.univnantes.alma.model.card.player.survival;
import fr.univnantes.alma.model.BoardGame;
public class EquipmentCard extends BasicSurvivalCard {
/**
* Phase of game.
*/
private static final String PHASE = "Phase 4";
/**
* Card name.
*/
private static final String CARD_NAME = "Equipement";
/**
* Create new instance of equipment card.
*/
public EquipmentCard() {
super(PHASE, CARD_NAME);
}
/**
* {@inheritdoc}
*/
@Override
public void applyEffect(final BoardGame boardGame) {
}
}
package fr.univnantes.alma.model.card.player.survival;
import fr.univnantes.alma.model.BoardGame;
public class GatheringCard extends BasicSurvivalCard {
/**
* Phase of game.
*/
private static final String PHASE = "Phase 4";
/**
* Card name.
*/
private static final String CARD_NAME = "Ralliement";
/**
* Create new instance of gathering card.
*/
public GatheringCard() { super(PHASE, CARD_NAME);
}
/**
* {@inheritdoc}
*/
@Override
public void applyEffect(final BoardGame boardGame) {
}
}
package fr.univnantes.alma.model.card.player.survival;
import fr.univnantes.alma.model.BoardGame;
public class HologramCard extends BasicSurvivalCard {
/**
* Phase of game.
*/
private static final String PHASE = "Phase 3";
/**
* Card name.
*/
private static final String CARD_NAME = "Hologramme";
/**
* Create new instance of hologram card.
*/
public HologramCard() {
super(PHASE, CARD_NAME);
}
/**
* {@inheritdoc}
*/
@Override
public void applyEffect(final BoardGame boardGame) {
}
}
package fr.univnantes.alma.model.card.player.survival;
import fr.univnantes.alma.model.BoardGame;
public class InterferenceCard extends BasicSurvivalCard {
/**
* Phase of game.
*/
private static final String PHASE = "Phase 1";
/**
* Card name.
*/
private static final String CARD_NAME = "Brouillage";
/**
* Create new instance of interference card.
*/
public InterferenceCard() {
super(PHASE, CARD_NAME);
}
/**
* {@inheritdoc}
*/
@Override
public void applyEffect(final BoardGame boardGame) {
}
}
package fr.univnantes.alma.model.card.player.survival;
import fr.univnantes.alma.model.BoardGame;
public class LureCard extends BasicSurvivalCard {
/**
* Phase of game.
*/
private static final String PHASE = "Phase 3";
/**
* Card name.
*/
private static final String CARD_NAME = "Leurre";
/**
* Create new instance of lure card.
*/
public LureCard() {
super(PHASE, CARD_NAME);
}
/**
* {@inheritdoc}
*/
@Override
public void applyEffect(final BoardGame boardGame) {
}
}
package fr.univnantes.alma.model.card.player.survival;
import fr.univnantes.alma.model.BoardGame;
public class MimicryCard extends BasicSurvivalCard {
/**
* Phase of game.
*/
private static final String PHASE = "Phase 1";
/**
* Card name.
*/
private static final String CARD_NAME = "Mimétisme";
/**
* Create new instance of mimicry card.
*/
public MimicryCard() {
super(PHASE, CARD_NAME);
}
/**
* {@inheritdoc}
*/
@Override
public void applyEffect(final BoardGame boardGame) {
}
}
package fr.univnantes.alma.model.card.player.survival;
import fr.univnantes.alma.model.BoardGame;
public class ObstacleCard extends BasicSurvivalCard {
/**
* Phase of game.
*/
private static final String PHASE = "Phase 1";
/**
* Card name.
*/
private static final String CARD_NAME = "Entrave";
/**
* Create new instance of obstacle card.
*/
public ObstacleCard() {
super(PHASE, CARD_NAME);
}
/**
* {@inheritdoc}
*/
@Override
public void applyEffect(final BoardGame boardGame) {
}
}
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