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.
22 lines
399 B
22 lines
399 B
package mightypork.utils.math.constraints;
|
|
|
|
|
|
import mightypork.utils.math.coord.Rect;
|
|
|
|
|
|
/**
|
|
* Constraint that provides a rect ({@link ConstraintContext})
|
|
*
|
|
* @author MightyPork
|
|
*/
|
|
public abstract class RectConstraint extends Constraint implements ConstraintContext {
|
|
|
|
public RectConstraint(ConstraintContext context) {
|
|
super(context);
|
|
}
|
|
|
|
|
|
@Override
|
|
public abstract Rect getRect();
|
|
|
|
}
|
|
|