19 lines
396 B
Java
19 lines
396 B
Java
package speiger.src.coreengine.rendering.gui.helper.box;
|
|
|
|
public interface IScreenBox
|
|
{
|
|
public float getBaseScale();
|
|
public float getBaseWidth();
|
|
public float getBaseHeight();
|
|
|
|
public default float getSquaredBaseWidth() {
|
|
float value = getBaseWidth();
|
|
return value * value;
|
|
}
|
|
|
|
public default float getSquaredBaseHeight() {
|
|
float value = getBaseWidth();
|
|
return value * value;
|
|
}
|
|
}
|