mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-16 00:26:07 +09:00
wire branching traversal itself works, but fetches wrong signal status
This commit is contained in:
@@ -18,6 +18,9 @@ class IntArrayStack {
|
||||
|
||||
private lateinit var data: IntArray
|
||||
|
||||
fun isEmpty() = depth == 0
|
||||
fun isNotEmpty() = depth > 0
|
||||
|
||||
constructor(stackSize: Int) {
|
||||
data = IntArray(stackSize)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user