mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-12-03 09:18:00 +01:00
27 lines
504 B
Java
27 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;
|
||
|
}
|
||
|
}
|