New memory getter system

This commit is contained in:
Leonardo
2021-09-20 18:58:02 +02:00
parent af80ff5267
commit 688cb3f89a
16 changed files with 228 additions and 135 deletions
@@ -205,4 +205,12 @@ public class VerticalLevelContainer implements LevelContainer
*/
return " ";
}
public int getMaxNumberOfLods(){
return size*size*getMaxVerticalData();
}
public int getMaxMemoryUse(){
return getMaxNumberOfLods() * 2; //2 byte
}
}