Collider component has been defined, it uses an enum to represent which shape it is supposed to take, currently only circle and rectangle.
Both of these shapes have their constructors, default or not. And the information that is stored in data to be communicated is dependent on the shape to avoid sending unnecessary values.
Collider component has been defined, it uses an enum to represent which shape it is supposed to take, currently only circle and rectangle.
Both of these shapes have their constructors, default or not. And the information that is stored in data to be communicated is dependent on the shape to avoid sending unnecessary values.