Right now I'm repeating this in subclasses ``` ove...
# announcements
r
Right now I'm repeating this in subclasses
Copy code
override var speed: Double
    get() = platformSpecificThing.speed
    set(speed) = if(speed !in -1..1) {
        throw IllegalArgumentException("no")
    } else {
        platformSpecificThing.speed = speed
    }