Update Planetype.java

added enum and new constructor with enum