Rogue: Savage Rats, a retro-themed dungeon crawler
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.
 
 
rogue-savage-rats/src/mightypork/gamecore/util/math/constraints/vect/proxy/VectBoundAdapter.java

36 lines
515 B

package mightypork.gamecore.util.math.constraints.vect.proxy;
import mightypork.gamecore.util.math.constraints.vect.Vect;
public class VectBoundAdapter extends VectAdapter implements PluggableVectBound {
private VectBound backing = null;
public VectBoundAdapter()
{
}
public VectBoundAdapter(VectBound bound)
{
backing = bound;
}
@Override
public void setVect(VectBound rect)
{
this.backing = rect;
}
@Override
protected Vect getSource()
{
return backing.getVect();
}
}