mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-01-19 08:47:39 +07:00
Adjusted background offsets for neck, rring, lring
This commit is contained in:
parent
0ce15351ed
commit
42d4f7f4dd
@ -166,6 +166,8 @@ public class InventoryPanel extends WidgetGroup implements Disposable {
|
|||||||
neck.setPosition(
|
neck.setPosition(
|
||||||
inventory.neckLeft - inventory.invLeft,
|
inventory.neckLeft - inventory.invLeft,
|
||||||
getHeight() - inventory.neckBottom);
|
getHeight() - inventory.neckBottom);
|
||||||
|
neck.xOffs = -1;
|
||||||
|
neck.yOffs = 1;
|
||||||
addActor(neck);
|
addActor(neck);
|
||||||
|
|
||||||
BodyPart rHand = bodyParts[BodyLocs.RRIN] = new BodyPart(BodyLoc.RRIN, inv_ring_amulet.getTexture(1));
|
BodyPart rHand = bodyParts[BodyLocs.RRIN] = new BodyPart(BodyLoc.RRIN, inv_ring_amulet.getTexture(1));
|
||||||
@ -173,6 +175,8 @@ public class InventoryPanel extends WidgetGroup implements Disposable {
|
|||||||
rHand.setPosition(
|
rHand.setPosition(
|
||||||
inventory.rHandLeft - inventory.invLeft,
|
inventory.rHandLeft - inventory.invLeft,
|
||||||
getHeight() - inventory.rHandBottom);
|
getHeight() - inventory.rHandBottom);
|
||||||
|
rHand.xOffs = -1;
|
||||||
|
rHand.yOffs = 1;
|
||||||
addActor(rHand);
|
addActor(rHand);
|
||||||
|
|
||||||
BodyPart lHand = bodyParts[BodyLocs.LRIN] = new BodyPart(BodyLoc.LRIN, inv_ring_amulet.getTexture(1));
|
BodyPart lHand = bodyParts[BodyLocs.LRIN] = new BodyPart(BodyLoc.LRIN, inv_ring_amulet.getTexture(1));
|
||||||
@ -180,6 +184,8 @@ public class InventoryPanel extends WidgetGroup implements Disposable {
|
|||||||
lHand.setPosition(
|
lHand.setPosition(
|
||||||
inventory.lHandLeft - inventory.invLeft,
|
inventory.lHandLeft - inventory.invLeft,
|
||||||
getHeight() - inventory.lHandBottom);
|
getHeight() - inventory.lHandBottom);
|
||||||
|
lHand.xOffs = -1;
|
||||||
|
lHand.yOffs = 1;
|
||||||
addActor(lHand);
|
addActor(lHand);
|
||||||
|
|
||||||
BodyPart belt = bodyParts[BodyLocs.BELT] = new BodyPart(BodyLoc.BELT, inv_belt.getTexture());
|
BodyPart belt = bodyParts[BodyLocs.BELT] = new BodyPart(BodyLoc.BELT, inv_belt.getTexture());
|
||||||
|
Loading…
Reference in New Issue
Block a user