elect
12/01/2016, 9:52 AMabstract class Vec2t<T : Number> {
abstract var x: T
abstract var y: T
}
being implemented by several classes, such as:
data class Vec2(override var x: Float, override var y: Float) : Vec2t<Float>()
each of them has a lot of constructors (11 for the precision) and all of these constructor refer to one common constructor (x, y), so my wish is to move all of them inside Vec2t and let the implementing class, for example Vec2, overwrite somehow the common constructor
Is this possible?