package net.ciklum.icfpc11.domain.greenspoon10 import net.ciklum.icfpc11.domain.Game /** * blabla * @author vic */ @Typed class Copy extends Function { @Override Function apply(Function i) { super.apply(i) //BUG: use current player, not strictly opponent //To think: maybe we need clone here? Though, these are immutable... Game.instance.currentOpponent.getSlot(i.value).value } String toString() { "copy" } }