public override bool CheckCollider(Check2DCollider collider) { if (collider == null) { return(false); } return(collider.CheckRect(this.center, this.forward, halfWidth, halfHeight)); }
public override bool CheckCollider(Check2DCollider collider) { if (collider == null) { return(false); } return(collider.CheckCircle(this.center, radius)); }
abstract public bool CheckCollider(Check2DCollider collider);