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/rect/caching/RectCache.java

37 lines
554 B

package mightypork.gamecore.util.math.constraints.rect.caching;
import mightypork.gamecore.util.annot.DefaultImpl;
import mightypork.gamecore.util.math.constraints.rect.Rect;
/**
* Rect cache implementation
*
* @author Ondřej Hruška (MightyPork)
*/
public class RectCache extends AbstractRectCache {
private final Rect source;
public RectCache(Rect source)
{
this.source = source;
}
@Override
public final Rect getCacheSource()
{
return source;
}
@Override
@DefaultImpl
public void onConstraintChanged()
{
}
}