Turtle programming game that was never finished to a playable state (but had cute graphics and sounds)
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.
tortuga/src/net/tortuga/gui/widgets/composite/PgmShopSquare.java

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);
}
}