You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
582 B
29 lines
582 B
package net.tortuga.gui.widgets.composite;
|
|
|
|
|
|
import net.tortuga.level.program.tiles.ProgTileStone;
|
|
import net.tortuga.textures.Tx;
|
|
import net.tortuga.util.RenderUtils;
|
|
|
|
import com.porcupine.coord.Coord;
|
|
import com.porcupine.coord.Rect;
|
|
|
|
|
|
public class PgmShopSquare extends PgmShopBase {
|
|
|
|
public PgmShopSquare(ProgTileStone stone) {
|
|
setShopStone(stone);
|
|
}
|
|
|
|
|
|
public PgmShopSquare() {}
|
|
|
|
|
|
@Override
|
|
public void renderSlotBackground(Coord center)
|
|
{
|
|
Rect centralSlot = rect.getAxisH();
|
|
centralSlot.grow_ip(0, 32);
|
|
RenderUtils.quadTextured(centralSlot, Tx.SLOT_SQUARE);
|
|
}
|
|
}
|
|
|