public class BaseBiome
extends java.lang.Object
Constructor and Description |
---|
BaseBiome(BaseBiome biome)
Create a clone of the given biome.
|
BaseBiome(int id)
Create a new biome with the given biome ID.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
getId()
Get the biome ID.
|
int |
hashCode() |
void |
setId(int id)
Set the biome id.
|
public BaseBiome(int id)
id
- the biome IDpublic BaseBiome(BaseBiome biome)
biome
- the biome to clonepublic int getId()
public void setId(int id)
id
- the biome IDpublic boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object