Class ScreenSizeManager

java.lang.Object
squidpony.squidgrid.gui.gdx.ScreenSizeManager

public class ScreenSizeManager
extends Object
A container that keeps tracks of the sizes of margins and cells. It is at the screen-level, i.e. it is intended to keep track of the full screen, not of a nested panel. Given the screen's size and the desired cell size, it computes the margins around the usable part of the screen, and hence the position of the full-screen SquidPanel ((leftMargin,botMargin)).
Author:
smelC