Closed GregHib closed 4 years ago
Before
@PooledWeaver class Emote() : Component() { constructor(id: Int) : this() { this.id = id } var id = -1 }
After
@PooledWeaver data class Emote(var id: Int) : Component() { constructor() : this(-1) }
Easier to read and provides automatic toStrings
Before
After
Easier to read and provides automatic toStrings