|
@@ -5,7 +5,7 @@ package h2d.col;
|
|
|
|
|
|
Note that it checks as `channel > cutoff`, not `channel >= cutoff`, hence cutoff value of 255 would never pass the test.
|
|
|
**/
|
|
|
-class PixelsCollider implements Collider {
|
|
|
+class PixelsCollider extends Collider {
|
|
|
|
|
|
/**
|
|
|
The source pixel data which is tested against.
|
|
@@ -96,4 +96,12 @@ class PixelsCollider implements Collider {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ public function collideCircle( c : Circle ) : Bool {
|
|
|
+ throw "Not implemented";
|
|
|
+ }
|
|
|
+
|
|
|
+ public function collideBounds( b : Bounds ) : Bool {
|
|
|
+ throw "Not implemented";
|
|
|
+ }
|
|
|
+
|
|
|
}
|