rename error
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
|
||||
import java.util.ArrayList
|
||||
|
||||
abstract class Item(val room: <!CLASS_HAS_KOTLIN_ANALOG!>Object<!>) {
|
||||
abstract class Item(val room: <!PLATFORM_CLASS_MAPPED_TO_KOTLIN!>Object<!>) {
|
||||
abstract val name : String
|
||||
}
|
||||
|
||||
val items: ArrayList<Item> = ArrayList<Item>()
|
||||
|
||||
fun test(room : <!CLASS_HAS_KOTLIN_ANALOG!>Object<!>) {
|
||||
fun test(room : <!PLATFORM_CLASS_MAPPED_TO_KOTLIN!>Object<!>) {
|
||||
for(val item: Item? in items) {
|
||||
if (item?.room === room) {
|
||||
System.out.println("You see " + item?.name)
|
||||
|
||||
Reference in New Issue
Block a user