public bool CheckCollision(Actor other) {
			return (this.cls != null && !this.cls.IsInstanceOfType(other)) ? false
					: ((this.compareObject == null) ? true : other
							.Intersects(this.compareObject));
		}
示例#2
0
 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));
		}
示例#4
0
 public bool CheckOnlyCollision(Actor other)
 {
     return((this.compareObject == null) ? true : other
            .Intersects(this.compareObject));
 }