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.
31 lines
425 B
31 lines
425 B
package mightypork.utils.math.constraints.num;
|
|
|
|
|
|
public class NumBoundAdapter extends NumAdapter implements PluggableNumBound {
|
|
|
|
private NumBound backing = null;
|
|
|
|
|
|
public NumBoundAdapter() {
|
|
}
|
|
|
|
|
|
public NumBoundAdapter(NumBound bound) {
|
|
backing = bound;
|
|
}
|
|
|
|
|
|
@Override
|
|
public void setNum(NumBound rect)
|
|
{
|
|
this.backing = rect;
|
|
}
|
|
|
|
|
|
@Override
|
|
protected Num getSource()
|
|
{
|
|
return backing.getNum();
|
|
}
|
|
|
|
}
|
|
|