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
501 B
37 lines
501 B
10 years ago
|
package mightypork.gamecore.util.math.constraints.num.proxy;
|
||
10 years ago
|
|
||
10 years ago
|
|
||
10 years ago
|
import mightypork.gamecore.util.math.constraints.num.Num;
|
||
10 years ago
|
|
||
|
|
||
|
public class NumBoundAdapter extends NumAdapter implements PluggableNumBound {
|
||
|
|
||
|
private NumBound backing = null;
|
||
|
|
||
|
|
||
10 years ago
|
public NumBoundAdapter()
|
||
|
{
|
||
10 years ago
|
}
|
||
|
|
||
|
|
||
10 years ago
|
public NumBoundAdapter(NumBound bound)
|
||
|
{
|
||
10 years ago
|
backing = bound;
|
||
|
}
|
||
|
|
||
|
|
||
10 years ago
|
@Override
|
||
|
public void setNum(NumBound rect)
|
||
|
{
|
||
|
this.backing = rect;
|
||
|
}
|
||
|
|
||
|
|
||
|
@Override
|
||
|
protected Num getSource()
|
||
|
{
|
||
|
return backing.getNum();
|
||
|
}
|
||
|
|
||
|
}
|