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.
26 lines
351 B
26 lines
351 B
11 years ago
|
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();
|
||
|
}
|
||
|
|
||
|
}
|