Turtle programming game that was never finished to a playable state (but had cute graphics and sounds)
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
tortuga/src/net/tortuga/gui/widgets/composite/PgmShopSquare.java

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