WiP: deactivated array elements

This commit is contained in:
2024-11-03 14:56:07 +01:00
parent d1dac0b855
commit 383e1343ef
6 changed files with 52 additions and 31 deletions

View File

@@ -18,7 +18,6 @@ public class Level {
private int chunkResX;
private int chunkResY;
private bool enableRain = false;
private float rainAmount = 0;
public Level(Main main, int sizeX, int sizeY) {
@@ -75,6 +74,10 @@ public class Level {
}
}
public Chunk[,] GetChunks() {
return chunks;
}
private void MakeItRain() {
if (rainAmount < .1f) return;