MineLittlePony/src/main/java/com/brohoof/minelittlepony/PonyRace.java
2015-12-08 22:14:42 -05:00

26 lines
504 B
Java

package com.brohoof.minelittlepony;
public enum PonyRace {
EARTH(false, false),
PEGASUS(true, false),
UNICORN(false, true),
ALICORN(true, true),
CHANGELING(true, true),
ZEBRA(false, false);
private boolean wings;
private boolean horn;
private PonyRace(boolean wings, boolean horn) {
this.wings = wings;
this.horn = horn;
}
public boolean hasHorn() {
return horn;
}
public boolean hasWings() {
return wings;
}
}