Updated test data and stdlib sources.

This commit is contained in:
Evgeny Gerashchenko
2013-02-12 02:19:55 +04:00
parent 105d2d72de
commit b9e5704057
43 changed files with 96 additions and 78 deletions
@@ -42,7 +42,7 @@ fun main(args: Array<String>) {
val numbers = ArrayList<Int>(4)
val rnd = Random();
val prompt = StringBuilder()
for(val i in 0..3) {
for(i in 0..3) {
val n = rnd.nextInt(9) + 1
numbers.add(n)
if (i > 0) prompt.append(" ");
+1 -1
View File
@@ -9,7 +9,7 @@ abstract class Item(val room: <warning>Object</warning>) {
val items: ArrayList<Item> = ArrayList<Item>()
fun test(room : <warning>Object</warning>) {
for(val item: Item in items) {
for(item: Item in items) {
if (item.room === room) {
System.out.println("You see " + item.name)
}