public RigidBody(Texture2D texture, Vector2 pos, Vector2 size, Color color, PlatformObjectType objectType) : base(texture, pos, size, color, objectType) { connected = new RigidBody[] { this }; connectedID = nextUnusedConnectID++; }
public PlatformObject(Texture2D texture, Vector2 pos, Vector2 size, Color color, PlatformObjectType objectType) : this(texture, pos, size) { this.color = color; this.objectType = objectType; }