class Wall : Item { @CostumeAttribute var roundedNE = false @CostumeAttribute var roundedNW = false @CostumeAttribute var roundedSW = false @CostumeAttribute var roundedSE = false override fun rounded( direction : int ) : boolean { // Feather doesn't have a case statement yet :-( return if (direction == NORTH_EAST) { roundedNE } else if (direction == NORTH_WEST) { roundedNW } else if (direction == SOUTH_WEST) { roundedSW } else if (direction == SOUTH_EAST) { roundedSE } else { false } } }