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.
25 lines
351 B
25 lines
351 B
package mightypork.utils.math.constraints;
|
|
|
|
|
|
import mightypork.utils.math.coord.Rect;
|
|
|
|
|
|
public class ContextAdapter implements PluggableContext {
|
|
|
|
private RectEvaluable backing = null;
|
|
|
|
|
|
@Override
|
|
public void setContext(RectEvaluable rect)
|
|
{
|
|
this.backing = rect;
|
|
}
|
|
|
|
|
|
@Override
|
|
public Rect getRect()
|
|
{
|
|
return backing.getRect();
|
|
}
|
|
|
|
}
|
|
|