You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
454 B
29 lines
454 B
10 years ago
|
package net.sector.collision;
|
||
|
|
||
|
|
||
|
import com.porcupine.coord.Coord;
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Sphere collider, never colliding
|
||
|
*
|
||
|
* @author MightyPork
|
||
|
*/
|
||
|
public class ColliderSphereFake extends ColliderSphere {
|
||
|
|
||
|
/**
|
||
|
* Sphere collider
|
||
|
*
|
||
|
* @param center center
|
||
|
* @param radius sphere radius
|
||
|
*/
|
||
|
public ColliderSphereFake(Coord center, double radius) {
|
||
|
super(center, radius);
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public boolean collidesWith(Collider other) {
|
||
|
return false;
|
||
|
}
|
||
|
}
|