Added motor texture for Klima motors.

This commit is contained in:
kruland2607 2014-05-21 15:11:31 -05:00
parent 0e984d51f0
commit 35f9ae384e
2 changed files with 4 additions and 0 deletions

View File

@ -62,6 +62,7 @@ public class DefaultAppearance {
private static Appearance ESTES_MOTOR = simple("/datafiles/textures/motors/estes.jpg"); private static Appearance ESTES_MOTOR = simple("/datafiles/textures/motors/estes.jpg");
private static Appearance AEROTECH_MOTOR = simple("/datafiles/textures/motors/aerotech.png"); private static Appearance AEROTECH_MOTOR = simple("/datafiles/textures/motors/aerotech.png");
private static Appearance KLIMA_MOTOR = simple("/datafiles/textures/motors/klima.jpg");
private static Appearance REUSABLE_MOTOR = simpleAlpha(new Color(195, 60, 50), .6f, "/datafiles/textures/motors/reusable.png"); private static Appearance REUSABLE_MOTOR = simpleAlpha(new Color(195, 60, 50), .6f, "/datafiles/textures/motors/reusable.png");
private static HashMap<Color, Appearance> plastics = new HashMap<Color, Appearance>(); private static HashMap<Color, Appearance> plastics = new HashMap<Color, Appearance>();
@ -105,6 +106,9 @@ public class DefaultAppearance {
if ("AeroTech".equals(tcm.getManufacturer().getSimpleName())) { if ("AeroTech".equals(tcm.getManufacturer().getSimpleName())) {
return AEROTECH_MOTOR; return AEROTECH_MOTOR;
} }
if ("Klima".equals(tcm.getManufacturer().getSimpleName())) {
return KLIMA_MOTOR;
}
} }
return REUSABLE_MOTOR; return REUSABLE_MOTOR;
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB