package mille.bean;

public abstract class HazardCard extends Card
{
    public HazardCard(String name, CardImage image)
    {
        super(name, image);
    }
}

public abstract class RemedyCard extends Card
{
    public RemedyCard(String name, CardImage image)
    {
        super(name, image);
    }
}

public abstract class SafetyCard extends Card
{
    public SafetyCard(String name, CardImage image)
    {
        super(name, image);
    }
}

public abstract class DistanceCard extends Card
{
    public DistanceCard(String name, CardImage image)
    {
        super(name, image);
    }
}

public class AccidentCard extends HazardCard
{
    public AccidentCard(CardImage image)
    {
        super("Accident", image);
    }
}

public class OutOfGasCard extends HazardCard
{
    public OutOfGasCard(CardImage image)
    {
        super("Out of Gas", image);
    }
}

public class FlatTireCard extends HazardCard
{
    public FlatTireCard(CardImage image)
    {
        super("Flat Tire", image);
    }
}

public class SpeedLimitCard extends HazardCard
{
    public SpeedLimitCard(CardImage image)
    {
        super("Speed Limit", image);
    }
}

public class StopCard extends HazardCard
{
    public StopCard(CardImage image)
    {
        super("Stop", image);
    }
}
@@ -1255,24 +1255,708 @@
 (%22Stop%22, image);%0A    %7D%0A%7D
+%0A%0Apublic class RepairsCard extends RemedyCard%0A%7B%0A    public RepairsCard(CardImage image)%0A    %7B%0A        super(%22Repairs%22, image);%0A    %7D%0A%7D%0A%0Apublic class GasolineCard extends RemedyCard%0A%7B%0A    public GasolineCard(CardImage image)%0A    %7B%0A        super(%22Gasoline%22, image);%0A    %7D%0A%7D%0A%0Apublic class SpareTireCard extends RemedyCard%0A%7B%0A    public SpareTireCard(CardImage image)%0A    %7B%0A        super(%22Spare Tire%22, image);%0A    %7D%0A%7D%0A%0Apublic class EndOfLimitCard extends RemedyCard%0A%7B%0A    public EndOfLimitCard(CardImage image)%0A    %7B%0A        super(%22End of Limit%22, image);%0A    %7D%0A%7D%0A%0Apublic class RollCard extends RemedyCard%0A%7B%0A    public RollCard(CardImage image)%0A    %7B%0A        super(%22Roll%22, image);%0A    %7D%0A%7D%0A%0A

add RemedyCard subclasses