rectAttackable method
Implementation
Vector2Rect rectAttackable() => this.isObjectCollision()
? (this as ObjectCollision).rectCollision
: position;
Vector2Rect rectAttackable() => this.isObjectCollision()
? (this as ObjectCollision).rectCollision
: position;