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.
34 lines
485 B
34 lines
485 B
package mightypork.util.constraints.vect.proxy;
|
|
|
|
|
|
import mightypork.util.constraints.vect.Vect;
|
|
|
|
|
|
public class VectBoundAdapter extends VectAdapter implements PluggableVectBound {
|
|
|
|
private VectBound backing = null;
|
|
|
|
|
|
public VectBoundAdapter() {
|
|
}
|
|
|
|
|
|
public VectBoundAdapter(VectBound bound) {
|
|
backing = bound;
|
|
}
|
|
|
|
|
|
@Override
|
|
public void setVect(VectBound rect)
|
|
{
|
|
this.backing = rect;
|
|
}
|
|
|
|
|
|
@Override
|
|
protected Vect getSource()
|
|
{
|
|
return backing.getVect();
|
|
}
|
|
|
|
}
|
|
|