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.
|
|
|
package mightypork.utils.math.rect;
|
|
|
|
|
|
|
|
|
|
|
|
import mightypork.utils.math.coord.Vec;
|
|
|
|
|
|
|
|
|
|
|
|
public interface RectMutable extends RectMath<RectMutable> {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Set to other rect's coordinates
|
|
|
|
*
|
|
|
|
* @param rect other rect
|
|
|
|
*/
|
|
|
|
void setTo(Rect rect);
|
|
|
|
|
|
|
|
|
|
|
|
void setTo(Vec origin, Vec size);
|
|
|
|
|
|
|
|
|
|
|
|
void setTo(Vec origin, double width, double height);
|
|
|
|
|
|
|
|
|
|
|
|
void setOrigin(Vec origin);
|
|
|
|
|
|
|
|
|
|
|
|
void setSize(Vec size);
|
|
|
|
|
|
|
|
}
|