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.
36 lines
515 B
36 lines
515 B
package mightypork.gamecore.util.math.constraints.vect.proxy;
|
|
|
|
|
|
import mightypork.gamecore.util.math.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();
|
|
}
|
|
|
|
}
|
|
|