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.
24 lines
377 B
24 lines
377 B
10 years ago
|
package mightypork.gamecore.gui.constraints;
|
||
10 years ago
|
|
||
|
|
||
|
import mightypork.utils.math.coord.Rect;
|
||
|
|
||
|
|
||
10 years ago
|
/**
|
||
|
* Interface for constraints that can be assigned context
|
||
|
*
|
||
|
* @author MightyPork
|
||
|
*/
|
||
10 years ago
|
public interface PluggableContext extends RectConstraint {
|
||
10 years ago
|
|
||
10 years ago
|
/**
|
||
|
* @param rect context to set
|
||
|
*/
|
||
10 years ago
|
abstract void setContext(RectConstraint rect);
|
||
10 years ago
|
|
||
|
|
||
|
@Override
|
||
|
abstract Rect getRect();
|
||
|
|
||
|
}
|