Search in sources :

Example 1 with GridCellDataSource

use of eidolons.libgdx.bf.datasource.GridCellDataSource in project Eidolons by IDemiurge.

the class GridCellContainer method init.

@Override
public GridCellContainer init() {
    super.init();
    graveyard = new GraveyardView();
    addActor(graveyard);
    graveyard.setWidth(getWidth());
    graveyard.setHeight(getHeight());
    setUserObject(new GridCellDataSource(new Coordinates(getGridX(), getGridY())));
    return this;
}
Also used : GridCellDataSource(eidolons.libgdx.bf.datasource.GridCellDataSource) Coordinates(main.game.bf.Coordinates)

Aggregations

GridCellDataSource (eidolons.libgdx.bf.datasource.GridCellDataSource)1 Coordinates (main.game.bf.Coordinates)1