Objectify objects

This commit is contained in:
Daniel Mills
2021-08-04 18:30:58 -04:00
parent 77f8f11d99
commit f640abda91
214 changed files with 1164 additions and 940 deletions

View File

@@ -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];
}
}