MineLittlePony/src/main/java/com/minelittlepony/PonyRace.java

29 lines
514 B
Java
Raw Normal View History

2016-11-17 05:45:04 +01:00
package com.minelittlepony;
public enum PonyRace {
2017-06-13 05:55:50 +02:00
HUMAN(false, false),
EARTH(false, false),
PEGASUS(true, false),
UNICORN(false, true),
ALICORN(true, true),
CHANGELING(true, true),
ZEBRA(false, false);
private boolean wings;
private boolean horn;
2016-11-25 05:40:19 +01:00
PonyRace(boolean wings, boolean horn) {
this.wings = wings;
this.horn = horn;
}
public boolean hasHorn() {
return horn;
}
public boolean hasWings() {
return wings;
}
}