3D spaceshooter with online scoreboard, online demos, ship building. Now entirely defunct, but might be resurrected
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.
 
 
sector/src/net/sector/collision/Collider.java

29 lines
557 B

package net.sector.collision;
import com.porcupine.coord.Coord;
/**
* Collider object, used to hold information about object positions, rotations
* and to detect their collisions.
*
* @author Ondřej Hruška (MightyPork)
*/
public abstract class Collider {
/** Central point */
public Coord pos = new Coord();
/**
* Check if collides with other collider
*
* @param other other collider
* @return collides
*/
public abstract boolean collidesWith(Collider other);
/**
* Render debug sphere
*/
public abstract void render();
}