Skip to content

Commit

Permalink
chore: reorganize project structure
Browse files Browse the repository at this point in the history
  • Loading branch information
nkomarn committed Jun 26, 2024
1 parent b3d45fa commit 1bca0de
Show file tree
Hide file tree
Showing 37 changed files with 2,143 additions and 3,613 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,16 @@ import kyta.composter.world.block.DANDELION
import kyta.composter.world.block.DIRT
import kyta.composter.world.block.FLOWING_WATER
import kyta.composter.world.block.GRASS_BLOCK
import kyta.composter.world.block.GRAVEL
import kyta.composter.world.block.SAND
import kyta.composter.world.block.SANDSTONE
import kyta.composter.world.block.SHORT_GRASS
import kyta.composter.world.block.STONE
import kyta.composter.world.block.WATER
import kyta.composter.world.block.defaultState
import kyta.composter.world.chunk.Chunk
import xyz.nkomarn.composter.world.noise.PerlinNoise
import xyz.nkomarn.composter.world.generator.noise.PerlinNoise
import java.util.*
import java.util.concurrent.ThreadLocalRandom
import kotlin.math.pow

class NoiseGenerator(private val seed: Int) : WorldGenerator {
private val noise = PerlinNoise(seed)
Expand Down
Loading

0 comments on commit 1bca0de

Please sign in to comment.