Class LayoutManager
- java.lang.Object
-
- com.cosylab.vdct.graphics.objects.LayoutManager
-
public class LayoutManager extends Object
A simple manager that has info on empty spaces in the 2d plane. Uses n^2 space on a grid of variable density, and supports filling in O(1), but no emptying.- Author:
- ssah
-
-
Constructor Summary
Constructors Constructor Description LayoutManager(int width, int height, int positionWidth, int positionHeight, int offsetX, int offsetY)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
fillPosition(int posX, int posY)
LayoutPosition
getVacantPosition()
-
-
-
Method Detail
-
getVacantPosition
public LayoutPosition getVacantPosition()
- Returns:
- something
-
fillPosition
public void fillPosition(int posX, int posY)
- Parameters:
posX
- posXposY
- posY
-
-