public class BasicEggGroup extends AbstractEggGroup
index, name| Constructor and Description |
|---|
BasicEggGroup(int index,
java.lang.String name)
Basic constructor taking the index and the name
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBreedWith(EggGroup other)
Checks if the other egg group can breed with this egg group
Make sure it is consistent in both directions (i.e.
|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
canBreed, canBreedWith, canBreedWith, getIndex, getKey, getTranslationKeyclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetLocalizedName, getTranslatedNamepublic BasicEggGroup(int index,
java.lang.String name)
index - The index of the egg groupname - The name of the egg grouppublic boolean canBreedWith(EggGroup other)
EggGroupother - The other egg group to checkpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object