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