public bool CheckCollision(Actor other) { return (this.cls != null && !this.cls.IsInstanceOfType(other)) ? false : ((this.compareObject == null) ? true : other .Intersects(this.compareObject)); }
public bool CheckCollision(Actor other) { return((this.cls != null && !this.cls.IsInstanceOfType(other)) ? false : ((this.compareObject == null) ? true : other .Intersects(this.compareObject))); }
public bool CheckOnlyCollision(Actor other) { return ((this.compareObject == null) ? true : other .Intersects(this.compareObject)); }
public bool CheckOnlyCollision(Actor other) { return((this.compareObject == null) ? true : other .Intersects(this.compareObject)); }