package mods.future;

import game.Terrain;
import game.Vehicle;
import mods.future.vehicles.Spaceship;
import mods.future.vehicles.SpeedBoat;
import mods.future.vehicles.Tardies;
import mods.future.vehicles.Zeppelin;

public class VehicleFactory extends game.VehicleFactory {
    @Override
    public Vehicle createVehicle(Terrain terrain){
        switch (terrain){
            case WATER:
                return new SpeedBoat();

            case SKY:
                return new Zeppelin();

            case SPACE:
                return new Spaceship();

            case TRANSDIMENSIONAL:
                return new Tardies();

            default:
                return super.createVehicle(terrain);
        }
    }
}

@@ -168,17 +168,16 @@
 es.Tardi
-e
 s;%0Aimpor
@@ -618,17 +618,16 @@
 ew Tardi
-e
 s();%0A%0A  

update VehicleFactory after renaming Tardis Vehicle