mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-09 10:04:05 +09:00
accidentally pushed a test code
This commit is contained in:
@@ -143,7 +143,7 @@ object WorldSimulator {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun growOrKillGrass() {
|
fun growOrKillGrass() {
|
||||||
repeat(200) {
|
repeat(2) {
|
||||||
val rx = rng.nextInt(updateXFrom, updateXTo + 1)
|
val rx = rng.nextInt(updateXFrom, updateXTo + 1)
|
||||||
val ry = rng.nextInt(updateYFrom, updateYTo + 1)
|
val ry = rng.nextInt(updateYFrom, updateYTo + 1)
|
||||||
val tile = world.getTileFromTerrain(rx, ry)
|
val tile = world.getTileFromTerrain(rx, ry)
|
||||||
|
|||||||
Reference in New Issue
Block a user