Added init keyword to testdata

This commit is contained in:
Stanislav Erokhin
2015-04-01 05:21:26 +03:00
parent 6ab83c9b8c
commit b152211096
88 changed files with 114 additions and 114 deletions
@@ -17,7 +17,7 @@ class Field(
init: (Int, Int) -> Boolean
) {
private val live: Array<Array<Boolean>>
{
init {
live = Array(height) { i -> Array(width) { j -> init(i, j) } }
}