فهرست منبع

Allow usage of 2D Bounds as a collider (#1007)

Pavel Alexandrov 3 سال پیش
والد
کامیت
896cdffa90
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      h2d/col/Bounds.hx

+ 2 - 2
h2d/col/Bounds.hx

@@ -7,7 +7,7 @@ import hxd.Math;
 	@see `Object.getBounds`
 	@see `Object.getSize`
 **/
-class Bounds {
+class Bounds implements Collider {
 
 	/** X-axis left-most bounding box point. **/
 	public var xMin : Float;
@@ -394,4 +394,4 @@ class Bounds {
 		return b;
 	}
 
-}
+}