public class AbstractionGrid extends Object
| Constructor and Description |
|---|
AbstractionGrid(TextGrid textGrid,
CellSet cellSet)
Makes an AbstractionGrid using the
cellSet
of textGrid. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
fillCells(CellSet cells) |
TextGrid |
getAsTextGrid() |
TextGrid |
getCopyOfInternalBuffer() |
ArrayList |
getDistinctShapes() |
int |
getHeight() |
int |
getWidth() |
static AbstractionGrid |
makeUsingBuffer(TextGrid internalGrid)
Makes an AbstractionGrid using
internalGrid as
its internal buffer |
void |
set(int xPos,
int yPos,
AbstractCell cell) |
public static AbstractionGrid makeUsingBuffer(TextGrid internalGrid)
internalGrid as
its internal bufferinternalGrid - public TextGrid getCopyOfInternalBuffer()
public int getWidth()
public int getHeight()
public TextGrid getAsTextGrid()
public ArrayList getDistinctShapes()
protected void fillCells(CellSet cells)
public void set(int xPos,
int yPos,
AbstractCell cell)
Copyright © 2017. All rights reserved.