mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-21 07:46:55 +00:00
Objectify objects
This commit is contained in:
1 parent
77f8f11d99
commit
f640abda91
214 files changed
+1164
-940
No files matched your search
@@ -18,20 +18,20 @@
|
||||
|
||||
package com.volmit.iris.util.data;
|
||||
|
||||
import com.volmit.iris.engine.object.IrisBiome;
|
||||
import com.volmit.iris.engine.object.biome.LoaderBiome;
|
||||
|
||||
public class BiomeMap {
|
||||
private final IrisBiome[] height;
|
||||
private final LoaderBiome[] height;
|
||||
|
||||
public BiomeMap() {
|
||||
height = new IrisBiome[256];
|
||||
height = new LoaderBiome[256];
|
||||
}
|
||||
|
||||
public void setBiome(int x, int z, IrisBiome h) {
|
||||
public void setBiome(int x, int z, LoaderBiome h) {
|
||||
height[x * 16 + z] = h;
|
||||
}
|
||||
|
||||
public IrisBiome getBiome(int x, int z) {
|
||||
public LoaderBiome getBiome(int x, int z) {
|
||||
return height[x * 16 + z];
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user